Class ObjectMap.Keys<K>

  • All Implemented Interfaces:
    java.lang.Iterable<K>, java.util.Iterator<K>
    Enclosing class:
    ObjectMap<K,​V>

    public static class ObjectMap.Keys<K>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Keys​(ObjectMap<K,​?> map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      ObjectMap.Keys<K> iterator()  
      K next()  
      java.util.ArrayList<K> toList()
      Returns a new list containing the remaining keys.
      <T extends java.util.List<K>>
      T
      toList​(T array)
      Adds the remaining keys to the list.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public K next()
      • toList

        public java.util.ArrayList<K> toList()
        Returns a new list containing the remaining keys.
      • toList

        public <T extends java.util.List<K>> T toList​(T array)
        Adds the remaining keys to the list.