Class ObjectMap.Values<V>

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

public static class ObjectMap.Values<V> extends Object implements Iterable<V>, Iterator<V>
  • Field Details

    • hasNext

      public boolean hasNext
    • map

      protected final ObjectMap<Object,V> map
    • nextIndex

      protected int nextIndex
  • Constructor Details

  • 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.
    • toArray

      public void toArray(ArrayList<V> array)
      Adds the remaining values to the specified array.
    • reset

      public void reset()
    • advance

      protected void advance()
    • remove

      public void remove()