Class IntMap.Values<V>

java.lang.Object
com.esotericsoftware.kryo.util.IntMap.MapIterator<V>
com.esotericsoftware.kryo.util.IntMap.Values<V>
All Implemented Interfaces:
Iterable<V>, Iterator<V>
Enclosing class:
IntMap<V>

public static class IntMap.Values<V> extends IntMap.MapIterator<V> implements Iterable<V>, Iterator<V>
  • Constructor Details

    • Values

      public Values(IntMap<V> map)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<V>
    • next

      public V next()
      Specified by:
      next in interface Iterator<V>
    • iterator

      public Iterator<V> iterator()
      Specified by:
      iterator in interface Iterable<V>
    • toArray

      public ArrayList<V> toArray()
      Returns a new array containing the remaining values.