protected static class AbstractByte2LongSortedMap.KeySetIterator
extends java.lang.Object
implements it.unimi.dsi.fastutil.bytes.ByteBidirectionalIterator
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<Byte2LongMap.Entry> |
i |
| Constructor and Description |
|---|
KeySetIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Byte2LongMap.Entry> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious() |
byte |
nextByte() |
byte |
previousByte() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previous, skipprotected final it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Byte2LongMap.Entry> i
public KeySetIterator(it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Byte2LongMap.Entry> i)
public byte nextByte()
nextByte in interface it.unimi.dsi.fastutil.bytes.ByteIteratorpublic byte previousByte()
previousByte in interface it.unimi.dsi.fastutil.bytes.ByteBidirectionalIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Byte>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Byte>