Class AbstractDualBidiMap.View<K,V,E>

    • Constructor Detail

      • View

        protected View(Collection<E> coll,
                       AbstractDualBidiMap<K,V> parent)
        Constructs a new view of the BidiMap.
        Parameters:
        coll - the collection view being decorated
        parent - the parent BidiMap
    • Method Detail

      • equals

        public boolean equals(Object object)
      • hashCode

        public int hashCode()
      • removeAll

        public boolean removeAll(Collection<?> coll)
      • retainAll

        public boolean retainAll(Collection<?> coll)

        This implementation iterates over the elements of this bidi map, checking each element in turn to see if it's contained in coll. If it's not contained, it's removed from this bidi map. As a consequence, it is advised to use a collection type for coll that provides a fast (e.g. O(1)) implementation of Collection.contains(Object).

      • clear

        public void clear()