it.unimi.dsi.fastutil.objects
Class AbstractReference2BooleanSortedMap.ValuesIterator<K>
java.lang.Object
it.unimi.dsi.fastutil.booleans.AbstractBooleanIterator
it.unimi.dsi.fastutil.objects.AbstractReference2BooleanSortedMap.ValuesIterator<K>
- All Implemented Interfaces:
- BooleanIterator, Iterator<Boolean>
- Enclosing class:
- AbstractReference2BooleanSortedMap<K>
protected static class AbstractReference2BooleanSortedMap.ValuesIterator<K>
- 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<K,Boolean>> i
AbstractReference2BooleanSortedMap.ValuesIterator
public AbstractReference2BooleanSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<K,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.