public final class ObjectHashSet.EntryIterator extends AbstractIterator<ObjectCursor<KType>>
ObjectHashSet.iterator().
Holds a ObjectCursor returning (value, index) = (Object value, index the position in ObjectHashSet.keys, or keys.length for key = 0/null.)| Modifier and Type | Field and Description |
|---|---|
ObjectCursor<KType> |
cursor |
| Constructor and Description |
|---|
EntryIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected ObjectCursor<KType> |
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 ObjectCursor<KType> cursor
protected ObjectCursor<KType> fetch()
fetch in class AbstractIterator<ObjectCursor<KType>>Copyright © 2017. All rights reserved.