Class AbstractDualBidiMap.KeySet<K>
- java.lang.Object
-
- org.apache.commons.collections4.collection.AbstractCollectionDecorator<E>
-
- org.apache.commons.collections4.bidimap.AbstractDualBidiMap.View<K,Object,K>
-
- org.apache.commons.collections4.bidimap.AbstractDualBidiMap.KeySet<K>
-
- All Implemented Interfaces:
Serializable
,Iterable<K>
,Collection<K>
,Set<K>
- Enclosing class:
- AbstractDualBidiMap<K,V>
protected static class AbstractDualBidiMap.KeySet<K> extends AbstractDualBidiMap.View<K,Object,K> implements Set<K>
Inner class KeySet.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.commons.collections4.bidimap.AbstractDualBidiMap.View
parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeySet(AbstractDualBidiMap<K,?> 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<K>
iterator()
boolean
remove(Object key)
-
Methods inherited from class org.apache.commons.collections4.bidimap.AbstractDualBidiMap.View
clear, equals, hashCode, removeAll, retainAll
-
Methods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecorator
add, addAll, containsAll, decorated, isEmpty, setCollection, 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<K,?> parent)
Constructs a new view of the BidiMap.- Parameters:
parent
- the parent BidiMap
-
-
Method Detail
-
contains
public boolean contains(Object key)
- Specified by:
contains
in interfaceCollection<K>
- Specified by:
contains
in interfaceSet<K>
- Overrides:
contains
in classAbstractCollectionDecorator<K>
-
remove
public boolean remove(Object key)
- Specified by:
remove
in interfaceCollection<K>
- Specified by:
remove
in interfaceSet<K>
- Overrides:
remove
in classAbstractCollectionDecorator<K>
-
-