org.apache.commons.collections.bidimap
Class AbstractDualBidiMap.EntrySet<K,V>

java.lang.Object
  extended by org.apache.commons.collections.collection.AbstractCollectionDecorator<E>
      extended by org.apache.commons.collections.bidimap.AbstractDualBidiMap.View<K,V,Map.Entry<K,V>>
          extended by 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.


Field Summary
 
Fields inherited from class org.apache.commons.collections.bidimap.AbstractDualBidiMap.View
parent
 
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
 
Constructor Summary
protected AbstractDualBidiMap.EntrySet(AbstractDualBidiMap<K,V> parent)
          Constructs a new view of the BidiMap.
 
Method Summary
 Iterator<Map.Entry<K,V>> iterator()
           
 boolean remove(Object obj)
           
 
Methods inherited from class org.apache.commons.collections.bidimap.AbstractDualBidiMap.View
clear, removeAll, retainAll
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

AbstractDualBidiMap.EntrySet

protected AbstractDualBidiMap.EntrySet(AbstractDualBidiMap<K,V> parent)
Constructs a new view of the BidiMap.

Parameters:
parent - the parent BidiMap
Method Detail

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.