Class ObjectMap.Keys<K>

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

public static class ObjectMap.Keys<K> extends ObjectMap.MapIterator<K,Object> implements Iterable<K>, Iterator<K>
  • Constructor Details

  • Method Details

    • hasNext

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

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

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

      public ArrayList<K> toArray()
      Returns a new array containing the remaining keys.