Class CompactHashMap.ValuesView

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

    class CompactHashMap.ValuesView
    extends Maps.Values<K,​V>
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      ValuesView()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void forEach​(java.util.function.Consumer<? super V> action)  
      java.util.Iterator<V> iterator()  
      java.util.Spliterator<V> spliterator()  
      java.lang.Object[] toArray()  
      <T> T[] toArray​(T[] a)  
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, containsAll, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        equals, hashCode, parallelStream, removeIf, stream, toArray
    • Constructor Detail

      • ValuesView

        ValuesView()
    • Method Detail

      • iterator

        public java.util.Iterator<V> iterator()
        Specified by:
        iterator in interface java.util.Collection<V>
        Specified by:
        iterator in interface java.lang.Iterable<V>
        Overrides:
        iterator in class Maps.Values<K,​V>
      • forEach

        public void forEach​(java.util.function.Consumer<? super V> action)
        Specified by:
        forEach in interface java.lang.Iterable<V>
        Overrides:
        forEach in class Maps.Values<K,​V>
      • spliterator

        public java.util.Spliterator<V> spliterator()
      • toArray

        public java.lang.Object[] toArray()
        Specified by:
        toArray in interface java.util.Collection<V>
        Overrides:
        toArray in class java.util.AbstractCollection<V>
      • toArray

        public <T> T[] toArray​(T[] a)
        Specified by:
        toArray in interface java.util.Collection<V>
        Overrides:
        toArray in class java.util.AbstractCollection<V>