it.unimi.dsi.fastutil.chars
Class AbstractChar2CharSortedMap.ValuesIterator
java.lang.Object
it.unimi.dsi.fastutil.chars.AbstractCharIterator
it.unimi.dsi.fastutil.chars.AbstractChar2CharSortedMap.ValuesIterator
- All Implemented Interfaces:
- CharIterator, Iterator<Character>
- Enclosing class:
- AbstractChar2CharSortedMap
protected static class AbstractChar2CharSortedMap.ValuesIterator
- 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<Character,Character>> i
AbstractChar2CharSortedMap.ValuesIterator
public AbstractChar2CharSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<Character,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.