Class LongMap.Values<V>

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

    public static class LongMap.Values<V>
    extends java.lang.Object
    implements java.lang.Iterable<V>, java.util.Iterator<V>
    • Constructor Summary

      Constructors 
      Constructor Description
      Values​(LongMap<V> map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.util.Iterator<V> iterator()  
      V next()  
      Array<V> toArray()
      Returns a new array containing the remaining values.
      • 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, remove
    • Constructor Detail

      • Values

        public Values​(LongMap<V> map)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<V>
      • next

        @Null
        public V next()
        Specified by:
        next in interface java.util.Iterator<V>
      • iterator

        public java.util.Iterator<V> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<V>
      • toArray

        public Array<V> toArray()
        Returns a new array containing the remaining values.