it.unimi.dsi.fastutil.objects
Class AbstractObject2CharSortedMap.ValuesIterator<K>
java.lang.Object
it.unimi.dsi.fastutil.chars.AbstractCharIterator
it.unimi.dsi.fastutil.objects.AbstractObject2CharSortedMap.ValuesIterator<K>
- All Implemented Interfaces:
- CharIterator, Iterator<Character>
- Enclosing class:
- AbstractObject2CharSortedMap<K>
protected static class AbstractObject2CharSortedMap.ValuesIterator<K>
- extends AbstractCharIterator
A wrapper exhibiting a map iterator as an iterator on values.
To provide an iterator on values, just create an instance of this
class using the corresponding iterator on entries.
Method Summary |
boolean |
hasNext()
|
char |
nextChar()
Delegates to the corresponding generic method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
protected final ObjectBidirectionalIterator<Map.Entry<K,Character>> i
AbstractObject2CharSortedMap.ValuesIterator
public AbstractObject2CharSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<K,Character>> i)
nextChar
public char nextChar()
- Description copied from class:
AbstractCharIterator
- Delegates to the corresponding generic method.
- Specified by:
nextChar
in interface CharIterator
- Overrides:
nextChar
in class AbstractCharIterator
- Returns:
- the next element in the iteration.
- See Also:
Iterator.next()
hasNext
public boolean hasNext()
Copyright © 2011. All Rights Reserved.