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
Inner class View.
-
Field Summary
FieldsFields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedView(Collection coll, AbstractDualBidiMap parent) Constructs a new view of the BidiMap. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanremoveAll(Collection coll) booleanretainAll(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
parent
The parent map
-
-
Constructor Details
-
View
Constructs a new view of the BidiMap.- Parameters:
coll- the collection view being decoratedparent- the parent BidiMap
-
-
Method Details
-
removeAll
- Specified by:
removeAllin interfaceCollection- Overrides:
removeAllin classAbstractCollectionDecorator
-
retainAll
- Specified by:
retainAllin interfaceCollection- Overrides:
retainAllin classAbstractCollectionDecorator
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Overrides:
clearin classAbstractCollectionDecorator
-