org.apache.commons.collections.bidimap

Class AbstractDualBidiMap.View

Enclosing Class:
AbstractDualBidiMap
Implemented Interfaces:
Collection
Known Direct Subclasses:
AbstractDualBidiMap.EntrySet, AbstractDualBidiMap.KeySet, AbstractDualBidiMap.Values

protected static abstract class AbstractDualBidiMap.View
extends AbstractCollectionDecorator

Inner class View.

Field Summary

protected AbstractDualBidiMap
parent
The parent map

Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator

collection

Constructor Summary

View(Collection coll, AbstractDualBidiMap 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, clear, contains, containsAll, equals, getCollection, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString

Field Details

parent

protected final AbstractDualBidiMap parent
The parent map

Constructor Details

View

protected View(Collection coll,
               AbstractDualBidiMap parent)
Constructs a new view of the BidiMap.
Parameters:
coll - the collection view being decorated
parent - the parent BidiMap

Method Details

clear

public void clear()
Overrides:
clear in interface AbstractCollectionDecorator

removeAll

public boolean removeAll(Collection coll)
Overrides:
removeAll in interface AbstractCollectionDecorator

retainAll

public boolean retainAll(Collection coll)
Overrides:
retainAll in interface AbstractCollectionDecorator

Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.