Class AbstractDualBidiMap.View
- java.lang.Object
-
- org.apache.commons.collections.collection.AbstractCollectionDecorator
-
- org.apache.commons.collections.bidimap.AbstractDualBidiMap.View
-
- All Implemented Interfaces:
Iterable
,Collection
- Direct Known Subclasses:
AbstractDualBidiMap.EntrySet
,AbstractDualBidiMap.KeySet
,AbstractDualBidiMap.Values
- Enclosing class:
- AbstractDualBidiMap
protected abstract static class AbstractDualBidiMap.View extends AbstractCollectionDecorator
Inner class View.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractDualBidiMap
parent
The parent map-
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
View(Collection coll, AbstractDualBidiMap parent)
Constructs a new view of the BidiMap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
removeAll(Collection coll)
boolean
retainAll(Collection coll)
-
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
add, addAll, contains, containsAll, equals, getCollection, hashCode, isEmpty, iterator, remove, size, 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, spliterator, stream, toArray
-
-
-
-
Field Detail
-
parent
protected final AbstractDualBidiMap parent
The parent map
-
-
Constructor Detail
-
View
protected View(Collection coll, AbstractDualBidiMap parent)
Constructs a new view of the BidiMap.- Parameters:
coll
- the collection view being decoratedparent
- the parent BidiMap
-
-
Method Detail
-
removeAll
public boolean removeAll(Collection coll)
- Specified by:
removeAll
in interfaceCollection
- Overrides:
removeAll
in classAbstractCollectionDecorator
-
retainAll
public boolean retainAll(Collection coll)
- Specified by:
retainAll
in interfaceCollection
- Overrides:
retainAll
in classAbstractCollectionDecorator
-
clear
public void clear()
- Specified by:
clear
in interfaceCollection
- Overrides:
clear
in classAbstractCollectionDecorator
-
-