Class ObjectIntMap.ValueIterator<K>

java.lang.Object
com.github.tommyettinger.ds.ObjectIntMap.MapIterator<K>
com.github.tommyettinger.ds.ObjectIntMap.ValueIterator<K>
All Implemented Interfaces:
IntIterator, Iterator<Integer>
Enclosing class:
ObjectIntMap<K>

public static class ObjectIntMap.ValueIterator<K> extends ObjectIntMap.MapIterator<K> implements IntIterator
  • Constructor Details

  • Method Details

    • nextInt

      public int nextInt()
      Returns the next int element in the iteration.
      Specified by:
      nextInt in interface IntIterator
      Returns:
      the next int element in the iteration
      Throws:
      NoSuchElementException - if the iteration has no more elements
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<K>