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 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(java.lang.Object key)
java.util.Iterator<K>
iterator()
boolean
remove(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:
contains
in interfacejava.util.Collection<K>
- Specified by:
contains
in interfacejava.util.Set<K>
- Overrides:
contains
in classAbstractCollectionDecorator<K>
-
remove
public boolean remove(java.lang.Object key)
- Specified by:
remove
in interfacejava.util.Collection<K>
- Specified by:
remove
in interfacejava.util.Set<K>
- Overrides:
remove
in classAbstractCollectionDecorator<K>
-
-