Class Maps.Values<K,​V>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Map<K,​V> map  
    • Constructor Summary

      Constructors 
      Constructor Description
      Values​(java.util.Map<K,​V> map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean contains​(java.lang.Object o)  
      void forEach​(java.util.function.Consumer<? super V> action)  
      boolean isEmpty()  
      java.util.Iterator<V> iterator()  
      (package private) java.util.Map<K,​V> map()  
      boolean remove​(java.lang.Object o)  
      boolean removeAll​(java.util.Collection<?> c)  
      boolean retainAll​(java.util.Collection<?> c)  
      int size()  
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, containsAll, toArray, toArray, 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, spliterator, stream, toArray
    • Field Detail

      • map

        final java.util.Map<K,​V> map
    • Constructor Detail

      • Values

        Values​(java.util.Map<K,​V> map)
    • Method Detail

      • map

        final java.util.Map<K,​V> map()
      • iterator

        public java.util.Iterator<V> iterator()
        Specified by:
        iterator in interface java.util.Collection<K>
        Specified by:
        iterator in interface java.lang.Iterable<K>
        Specified by:
        iterator in class java.util.AbstractCollection<V>
      • forEach

        public void forEach​(java.util.function.Consumer<? super V> action)
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<K>
        Overrides:
        remove in class java.util.AbstractCollection<V>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> c)
        Specified by:
        removeAll in interface java.util.Collection<K>
        Overrides:
        removeAll in class java.util.AbstractCollection<V>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> c)
        Specified by:
        retainAll in interface java.util.Collection<K>
        Overrides:
        retainAll in class java.util.AbstractCollection<V>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<K>
        Specified by:
        size in class java.util.AbstractCollection<V>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<K>
        Overrides:
        isEmpty in class java.util.AbstractCollection<V>
      • contains

        public boolean contains​(java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<K>
        Overrides:
        contains in class java.util.AbstractCollection<V>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<K>
        Overrides:
        clear in class java.util.AbstractCollection<V>