Class WeakValueHashMap.EntrySet<K1,​V1>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>, java.util.Collection<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>, java.util.Set<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>
    Enclosing class:
    WeakValueHashMap<K,​V>

    protected class WeakValueHashMap.EntrySet<K1,​V1>
    extends java.util.AbstractSet<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected EntrySet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1> entry)  
      void clear()  
      boolean contains​(java.lang.Object obj)  
      java.util.Iterator<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>> iterator()  
      boolean remove​(java.lang.Object obj)  
      int size()  
      • Methods inherited from class java.util.AbstractSet

        equals, hashCode, removeAll
      • Methods inherited from class java.util.AbstractCollection

        addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

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

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
    • Constructor Detail

      • EntrySet

        protected EntrySet()
    • Method Detail

      • iterator

        public java.util.Iterator<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>> iterator()
        Specified by:
        iterator in interface java.util.Collection<K1>
        Specified by:
        iterator in interface java.lang.Iterable<K1>
        Specified by:
        iterator in interface java.util.Set<K1>
        Specified by:
        iterator in class java.util.AbstractCollection<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<K1>
        Specified by:
        size in interface java.util.Set<K1>
        Specified by:
        size in class java.util.AbstractCollection<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>
      • contains

        public boolean contains​(java.lang.Object obj)
        Specified by:
        contains in interface java.util.Collection<K1>
        Specified by:
        contains in interface java.util.Set<K1>
        Overrides:
        contains in class java.util.AbstractCollection<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>
      • remove

        public boolean remove​(java.lang.Object obj)
        Specified by:
        remove in interface java.util.Collection<K1>
        Specified by:
        remove in interface java.util.Set<K1>
        Overrides:
        remove in class java.util.AbstractCollection<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<K1>
        Specified by:
        clear in interface java.util.Set<K1>
        Overrides:
        clear in class java.util.AbstractCollection<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>
      • add

        public boolean add​(de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1> entry)
        Specified by:
        add in interface java.util.Collection<K1>
        Specified by:
        add in interface java.util.Set<K1>
        Overrides:
        add in class java.util.AbstractCollection<de.hybris.platform.util.WeakValueHashMap.ReferenceEntry<K1,​V1>>