Class AbstractSetValuedMap.WrappedSet

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

    private class AbstractSetValuedMap.WrappedSet
    extends AbstractMultiValuedMap.WrappedCollection
    implements java.util.Set<V>
    Wrapped set to handle add and remove on the collection returned by get(Object).
    • Constructor Detail

      • WrappedSet

        public WrappedSet​(K key)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Specified by:
        equals in interface java.util.Collection<V>
        Specified by:
        equals in interface java.util.Set<V>
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Collection<V>
        Specified by:
        hashCode in interface java.util.Set<V>
        Overrides:
        hashCode in class java.lang.Object