org.apache.commons.collections.bidimap

Class AbstractDualBidiMap.KeySet

Enclosing Class:
AbstractDualBidiMap
Implemented Interfaces:
Collection, Set

protected static class AbstractDualBidiMap.KeySet
extends AbstractDualBidiMap.View
implements Set

Inner class KeySet.

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

KeySet(AbstractDualBidiMap parent)
Constructs a new view of the BidiMap.

Method Summary

boolean
contains(Object key)
Iterator
iterator()
boolean
remove(Object key)

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

Constructor Details

KeySet

protected KeySet(AbstractDualBidiMap parent)
Constructs a new view of the BidiMap.
Parameters:
parent - the parent BidiMap

Method Details

contains

public boolean contains(Object key)
Overrides:
contains in interface AbstractCollectionDecorator

iterator

public Iterator iterator()
Overrides:
iterator in interface AbstractCollectionDecorator

remove

public boolean remove(Object key)
Overrides:
remove in interface AbstractCollectionDecorator

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