Class EnumFloatMap.ValueIterator

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

public static class EnumFloatMap.ValueIterator extends EnumFloatMap.MapIterator 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<Float>