Class IdentityMap.Values<V>

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

public static class IdentityMap.Values<V> extends IdentityMap.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)
      Returns a new array containing the remaining values.