org.apache.commons.collections.bidimap
Class AbstractDualBidiMap.EntrySet<K,V>
java.lang.Object
org.apache.commons.collections.collection.AbstractCollectionDecorator<E>
org.apache.commons.collections.bidimap.AbstractDualBidiMap.View<K,V,Map.Entry<K,V>>
org.apache.commons.collections.bidimap.AbstractDualBidiMap.EntrySet<K,V>
- All Implemented Interfaces:
- Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K,V>>, Set<Map.Entry<K,V>>
- Enclosing class:
- AbstractDualBidiMap<K,V>
protected static class AbstractDualBidiMap.EntrySet<K,V>
- extends AbstractDualBidiMap.View<K,V,Map.Entry<K,V>>
- implements Set<Map.Entry<K,V>>
Inner class EntrySet.
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator |
add, addAll, contains, containsAll, equals, getCollection, hashCode, isEmpty, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
AbstractDualBidiMap.EntrySet
protected AbstractDualBidiMap.EntrySet(AbstractDualBidiMap<K,V> parent)
- Constructs a new view of the BidiMap.
- Parameters:
parent
- the parent BidiMap
iterator
public Iterator<Map.Entry<K,V>> iterator()
- Specified by:
iterator
in interface Iterable<Map.Entry<K,V>>
- Specified by:
iterator
in interface Collection<Map.Entry<K,V>>
- Specified by:
iterator
in interface Set<Map.Entry<K,V>>
- Overrides:
iterator
in class AbstractCollectionDecorator<Map.Entry<K,V>>
remove
public boolean remove(Object obj)
- Specified by:
remove
in interface Collection<Map.Entry<K,V>>
- Specified by:
remove
in interface Set<Map.Entry<K,V>>
- Overrides:
remove
in class AbstractCollectionDecorator<Map.Entry<K,V>>
Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.