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