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