org.apache.commons.collections4.bidimap
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
Methods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecorator |
add, addAll, containsAll, decorated, equals, hashCode, isEmpty, setCollection, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
add, addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
AbstractDualBidiMap.KeySet
protected AbstractDualBidiMap.KeySet(AbstractDualBidiMap<K,?> parent)
- Constructs a new view of the BidiMap.
- Parameters:
parent
- the parent BidiMap
iterator
public Iterator<K> iterator()
- Specified by:
iterator
in interface Iterable<K>
- Specified by:
iterator
in interface Collection<K>
- Specified by:
iterator
in interface Set<K>
- Overrides:
iterator
in class AbstractCollectionDecorator<K>
contains
public boolean contains(Object key)
- Specified by:
contains
in interface Collection<K>
- Specified by:
contains
in interface Set<K>
- Overrides:
contains
in class AbstractCollectionDecorator<K>
remove
public boolean remove(Object key)
- Specified by:
remove
in interface Collection<K>
- Specified by:
remove
in interface Set<K>
- Overrides:
remove
in class AbstractCollectionDecorator<K>
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.