Class AbstractDualBidiMap.KeySet<K>
- java.lang.Object
-
- org.apache.openjpa.lib.util.collections.AbstractCollectionDecorator<E>
-
- org.apache.openjpa.lib.util.collections.AbstractDualBidiMap.View<K,java.lang.Object,K>
-
- org.apache.openjpa.lib.util.collections.AbstractDualBidiMap.KeySet<K>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<K>,java.util.Collection<K>,java.util.Set<K>
- Enclosing class:
- AbstractDualBidiMap<K,V>
protected static class AbstractDualBidiMap.KeySet<K> extends AbstractDualBidiMap.View<K,java.lang.Object,K> implements java.util.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(java.lang.Object key)java.util.Iterator<K>iterator()booleanremove(java.lang.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
-
-
-
-
Constructor Detail
-
KeySet
protected KeySet(AbstractDualBidiMap<K,?> parent)
Constructs a new view of the BidiMap.- Parameters:
parent- the parent BidiMap
-
-
Method Detail
-
iterator
public java.util.Iterator<K> iterator()
-
contains
public boolean contains(java.lang.Object key)
- Specified by:
containsin interfacejava.util.Collection<K>- Specified by:
containsin interfacejava.util.Set<K>- Overrides:
containsin classAbstractCollectionDecorator<K>
-
remove
public boolean remove(java.lang.Object key)
- Specified by:
removein interfacejava.util.Collection<K>- Specified by:
removein interfacejava.util.Set<K>- Overrides:
removein classAbstractCollectionDecorator<K>
-
-