Class ObjectMap.Values<V>

java.lang.Object
com.esotericsoftware.kryo.util.ObjectMap.MapIterator<Object,V>
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 ObjectMap.MapIterator<Object,V> implements Iterable<V>, Iterator<V>
  • 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.