it.unimi.dsi.fastutil.chars
Class AbstractChar2BooleanSortedMap.ValuesIterator
java.lang.Object
it.unimi.dsi.fastutil.booleans.AbstractBooleanIterator
it.unimi.dsi.fastutil.chars.AbstractChar2BooleanSortedMap.ValuesIterator
- All Implemented Interfaces:
- BooleanIterator, Iterator<Boolean>
- Enclosing class:
- AbstractChar2BooleanSortedMap
protected static class AbstractChar2BooleanSortedMap.ValuesIterator
- extends AbstractBooleanIterator
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()
|
boolean |
nextBoolean()
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,Boolean>> i
AbstractChar2BooleanSortedMap.ValuesIterator
public AbstractChar2BooleanSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<Character,Boolean>> i)
nextBoolean
public boolean nextBoolean()
- Description copied from class:
AbstractBooleanIterator
- Delegates to the corresponding generic method.
- Specified by:
nextBoolean
in interface BooleanIterator
- Overrides:
nextBoolean
in class AbstractBooleanIterator
- Returns:
- the next element in the iteration.
- See Also:
Iterator.next()
hasNext
public boolean hasNext()
Copyright © 2011. All Rights Reserved.