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>

private class OpenHashMap.MapIterator extends Object
  • Field Details

    • prev

      int prev
      The entry that will be returned by the next call to ListIterator.previous() (or null if no previous entry exists).
    • next

      int next
      The entry that will be returned by the next call to ListIterator.next() (or null if no next entry exists).
    • curr

      int curr
      The last entry that was returned (or -1 if we did not iterate or used Iterator.remove()).
    • index

      int index
      The current index (in the sense of a ListIterator). Note that this value is not meaningful when this iterator has been created using the nonempty constructor.
  • Constructor Details

    • MapIterator

      private MapIterator()
    • MapIterator

      private MapIterator(Object from)
  • Method Details

    • hasNext

      public boolean hasNext()
    • hasPrevious

      public boolean hasPrevious()
    • ensureIndexKnown

      private void ensureIndexKnown()
    • nextIndex

      public int nextIndex()
    • previousIndex

      public int previousIndex()
    • nextEntry

      public int nextEntry()
    • previousEntry

      public int previousEntry()
    • remove

      public void remove()
    • skip

      public int skip(int n)
    • back

      public int back(int n)