public final class LongHashSet.EntryIterator extends AbstractIterator<LongCursor>
LongHashSet.iterator().
Holds a LongCursor returning (value, index) = (long value, index the position in LongHashSet.keys, or keys.length for key = 0/null.)| Modifier and Type | Field and Description |
|---|---|
LongCursor |
cursor |
| Constructor and Description |
|---|
EntryIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected LongCursor |
fetch()
Iterate backwards w.r.t the buffer, to
minimize collision chains when filling another hash container (ex. with putAll())
|
done, hasNext, next, release, removepublic final LongCursor cursor
protected LongCursor fetch()
fetch in class AbstractIterator<LongCursor>Copyright © 2017. All rights reserved.