Class LongLongMap.MapIterator

java.lang.Object
com.github.tommyettinger.ds.LongLongMap.MapIterator
Direct Known Subclasses:
LongLongMap.EntryIterator, LongLongMap.KeyIterator, LongLongMap.ValueIterator
Enclosing class:
LongLongMap

public abstract static class LongLongMap.MapIterator extends Object
  • Field Details

    • INDEX_ILLEGAL

      protected static final int INDEX_ILLEGAL
      See Also:
    • INDEX_ZERO

      protected static final int INDEX_ZERO
      See Also:
    • hasNext

      public boolean hasNext
    • map

      protected final LongLongMap map
    • nextIndex

      protected int nextIndex
    • currentIndex

      protected int currentIndex
    • valid

      protected boolean valid
  • Constructor Details

  • Method Details

    • reset

      public void reset()
    • hasNext

      public boolean hasNext()
      Returns true if the iteration has more elements. (In other words, returns true if next() would return an element rather than throwing an exception.)
      Returns:
      true if the iteration has more elements
    • remove

      public void remove()