Class AbstractDualBidiMap.Values<V>

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

    protected static class AbstractDualBidiMap.Values<V>
    extends AbstractDualBidiMap.View<java.lang.Object,​V,​V>
    implements java.util.Set<V>
    Inner class Values.
    See Also:
    Serialized Form
    • Constructor Detail

      • Values

        protected Values​(AbstractDualBidiMap<?,​V> parent)
        Constructs a new view of the BidiMap.
        Parameters:
        parent - the parent BidiMap
    • 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>
        Specified by:
        iterator in interface java.util.Set<V>
        Overrides:
        iterator in class AbstractCollectionDecorator<V>
      • contains

        public boolean contains​(java.lang.Object value)
        Specified by:
        contains in interface java.util.Collection<V>
        Specified by:
        contains in interface java.util.Set<V>
        Overrides:
        contains in class AbstractCollectionDecorator<V>
      • remove

        public boolean remove​(java.lang.Object value)
        Specified by:
        remove in interface java.util.Collection<V>
        Specified by:
        remove in interface java.util.Set<V>
        Overrides:
        remove in class AbstractCollectionDecorator<V>