org.apache.commons.collections.bidimap
Class AbstractDualBidiMap.KeySet<K,V>
java.lang.Object
org.apache.commons.collections.collection.AbstractCollectionDecorator<E>
org.apache.commons.collections.bidimap.AbstractDualBidiMap.View<K,V,K>
org.apache.commons.collections.bidimap.AbstractDualBidiMap.KeySet<K,V>
- All Implemented Interfaces:
- Iterable<K>, Collection<K>, Set<K>
- Enclosing class:
- AbstractDualBidiMap<K,V>
protected static class AbstractDualBidiMap.KeySet<K,V>
- extends AbstractDualBidiMap.View<K,V,K>
- implements Set<K>
Inner class KeySet.
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator |
add, addAll, containsAll, equals, getCollection, hashCode, isEmpty, 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,V> 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 © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.