Class ObjectFloatMap.ValueIterator<K>

java.lang.Object
com.github.tommyettinger.ds.ObjectFloatMap.MapIterator<K>
com.github.tommyettinger.ds.ObjectFloatMap.ValueIterator<K>
All Implemented Interfaces:
FloatIterator, Iterator<Float>
Enclosing class:
ObjectFloatMap<K>

public static class ObjectFloatMap.ValueIterator<K> extends ObjectFloatMap.MapIterator<K> implements FloatIterator
  • Constructor Details

  • Method Details

    • nextFloat

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

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