org.apache.commons.collections.map
Class AbstractHashedMap.KeySet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractSet
              |
              +--org.apache.commons.collections.map.AbstractHashedMap.KeySet
All Implemented Interfaces:
Collection, Set
Enclosing class:
AbstractHashedMap

protected static class AbstractHashedMap.KeySet
extends AbstractSet

KeySet implementation.


Field Summary
protected  AbstractHashedMap parent
          The parent map
 
Constructor Summary
protected AbstractHashedMap.KeySet(AbstractHashedMap parent)
           
 
Method Summary
 void clear()
           
 boolean contains(Object key)
           
 Iterator iterator()
           
 boolean remove(Object key)
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, retainAll, 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, containsAll, isEmpty, retainAll, toArray, toArray
 

Field Detail

parent

protected final AbstractHashedMap parent
The parent map

Constructor Detail

AbstractHashedMap.KeySet

protected AbstractHashedMap.KeySet(AbstractHashedMap parent)
Method Detail

size

public int size()
Specified by:
size in interface Set
Specified by:
size in class AbstractCollection

clear

public void clear()
Specified by:
clear in interface Set
Overrides:
clear in class AbstractCollection

contains

public boolean contains(Object key)
Specified by:
contains in interface Set
Overrides:
contains in class AbstractCollection

remove

public boolean remove(Object key)
Specified by:
remove in interface Set
Overrides:
remove in class AbstractCollection

iterator

public Iterator iterator()
Specified by:
iterator in interface Set
Specified by:
iterator in class AbstractCollection


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