Package org.apache.felix.resolver.util
Class OpenHashMap.MapIterator
java.lang.Object
org.apache.felix.resolver.util.OpenHashMap.MapIterator
- Direct Known Subclasses:
OpenHashMap.EntryIterator,OpenHashMap.FastEntryIterator,OpenHashMap.KeyIterator,OpenHashMap.ValueIterator
- Enclosing class:
OpenHashMap<K,V>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intThe last entry that was returned (or -1 if we did not iterate or usedIterator.remove()).(package private) intThe current index (in the sense of aListIterator).(package private) intThe entry that will be returned by the next call toListIterator.next()(ornullif no next entry exists).(package private) intThe entry that will be returned by the next call toListIterator.previous()(ornullif no previous entry exists). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
prev
int prevThe entry that will be returned by the next call toListIterator.previous()(ornullif no previous entry exists). -
next
int nextThe entry that will be returned by the next call toListIterator.next()(ornullif no next entry exists). -
curr
int currThe last entry that was returned (or -1 if we did not iterate or usedIterator.remove()). -
index
int indexThe current index (in the sense of aListIterator). Note that this value is not meaningful when this iterator has been created using the nonempty constructor.
-
-
Constructor Details
-
MapIterator
private MapIterator()
-
-
Method Details
-
hasNext
public boolean hasNext() -
ensureIndexKnown
private void ensureIndexKnown() -
nextEntry
public int nextEntry() -
remove
public void remove()
-