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

java.lang.Object
  extended by org.apache.commons.collections.collection.AbstractCollectionDecorator<E>
      extended by org.apache.commons.collections.bidimap.AbstractDualBidiMap.View<K,V,E>
All Implemented Interfaces:
Iterable<E>, Collection<E>
Direct Known Subclasses:
AbstractDualBidiMap.EntrySet, AbstractDualBidiMap.KeySet, AbstractDualBidiMap.Values
Enclosing class:
AbstractDualBidiMap<K,V>

protected abstract static class AbstractDualBidiMap.View<K,V,E>
extends AbstractCollectionDecorator<E>

Inner class View.


Field Summary
protected  AbstractDualBidiMap<K,V> parent
          The parent map
 
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
 
Constructor Summary
protected AbstractDualBidiMap.View(Collection<E> coll, AbstractDualBidiMap<K,V> parent)
          Constructs a new view of the BidiMap.
 
Method Summary
 void clear()
           
 boolean removeAll(Collection<?> coll)
           
 boolean retainAll(Collection<?> coll)
           
 
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
add, addAll, contains, containsAll, equals, getCollection, hashCode, isEmpty, iterator, remove, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

protected final AbstractDualBidiMap<K,V> parent
The parent map

Constructor Detail

AbstractDualBidiMap.View

protected AbstractDualBidiMap.View(Collection<E> coll,
                                   AbstractDualBidiMap<K,V> parent)
Constructs a new view of the BidiMap.

Parameters:
coll - the collection view being decorated
parent - the parent BidiMap
Method Detail

removeAll

public boolean removeAll(Collection<?> coll)
Specified by:
removeAll in interface Collection<E>
Overrides:
removeAll in class AbstractCollectionDecorator<E>

retainAll

public boolean retainAll(Collection<?> coll)
Specified by:
retainAll in interface Collection<E>
Overrides:
retainAll in class AbstractCollectionDecorator<E>

clear

public void clear()
Specified by:
clear in interface Collection<E>
Overrides:
clear in class AbstractCollectionDecorator<E>


Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.