Class AbstractHashedMap.Values<V>

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

    protected static class AbstractHashedMap.Values<V>
    extends java.util.AbstractCollection<V>
    Values implementation.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Values​(AbstractHashedMap<?,​V> parent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean contains​(java.lang.Object value)  
      java.util.Iterator<V> iterator()  
      int size()  
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, containsAll, isEmpty, remove, removeAll, retainAll, 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
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Method Detail

      • size

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

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

        public boolean contains​(java.lang.Object value)
        Specified by:
        contains in interface java.util.Collection<V>
        Overrides:
        contains in class java.util.AbstractCollection<V>
      • 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>
        Specified by:
        iterator in class java.util.AbstractCollection<V>