protected static class AbstractReference2ByteSortedMap.KeySetIterator<K>
extends java.lang.Object
implements it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<K>
To provide an iterator on keys, just create an instance of this class using the corresponding iterator on entries.
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Reference2ByteMap.Entry<K>> |
i |
| Constructor and Description |
|---|
KeySetIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Reference2ByteMap.Entry<K>> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious() |
K |
next() |
K |
previous() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected final it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Reference2ByteMap.Entry<K>> i
public KeySetIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Reference2ByteMap.Entry<K>> i)
public K previous()
previous in interface it.unimi.dsi.fastutil.BidirectionalIterator<K>public boolean hasNext()
hasNext in interface java.util.Iterator<K>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<K>