Class IntFloatMap.MapIterator

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

public abstract static class IntFloatMap.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 IntFloatMap 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()