Class ObjectMap.Values<V>

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

    public static class ObjectMap.Values<V>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Values​(ObjectMap<?,​V> map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      ObjectMap.Values<V> iterator()  
      V next()  
      java.util.ArrayList<V> toList()
      Returns a new list containing the remaining keys.
      <T extends java.util.List<V>>
      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

      • Values

        public Values​(ObjectMap<?,​V> map)
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        @Null
        public V next()
      • toList

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

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