Class AbstractDualBidiMap.KeySet<K>
- java.lang.Object
-
- org.apache.openjpa.lib.util.collections.AbstractCollectionDecorator<E>
-
- org.apache.openjpa.lib.util.collections.AbstractDualBidiMap.View<K,Object,K>
-
- org.apache.openjpa.lib.util.collections.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.openjpa.lib.util.collections.AbstractDualBidiMap.View
parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeySet(AbstractDualBidiMap<K,?> parent)Constructs a new view of the BidiMap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Object key)Iterator<K>iterator()booleanremove(Object key)-
Methods inherited from class org.apache.openjpa.lib.util.collections.AbstractDualBidiMap.View
clear, equals, hashCode, removeAll, removeIf, retainAll
-
Methods inherited from class org.apache.openjpa.lib.util.collections.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:
containsin interfaceCollection<K>- Specified by:
containsin interfaceSet<K>- Overrides:
containsin classAbstractCollectionDecorator<K>
-
remove
public boolean remove(Object key)
- Specified by:
removein interfaceCollection<K>- Specified by:
removein interfaceSet<K>- Overrides:
removein classAbstractCollectionDecorator<K>
-
-