org.apache.commons.collections.map
Class AbstractHashedMap.Values<K,V>

java.lang.Object
  extended by java.util.AbstractCollection<V>
      extended by org.apache.commons.collections.map.AbstractHashedMap.Values<K,V>
All Implemented Interfaces:
Iterable<V>, Collection<V>
Enclosing class:
AbstractHashedMap<K,V>

protected static class AbstractHashedMap.Values<K,V>
extends AbstractCollection<V>

Values implementation.


Field Summary
protected  AbstractHashedMap<K,V> parent
          The parent map
 
Constructor Summary
protected AbstractHashedMap.Values(AbstractHashedMap<K,V> parent)
           
 
Method Summary
 void clear()
           
 boolean contains(Object value)
           
 Iterator<V> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

parent

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

Constructor Detail

AbstractHashedMap.Values

protected AbstractHashedMap.Values(AbstractHashedMap<K,V> parent)
Method Detail

size

public int size()
Specified by:
size in interface Collection<V>
Specified by:
size in class AbstractCollection<V>

clear

public void clear()
Specified by:
clear in interface Collection<V>
Overrides:
clear in class AbstractCollection<V>

contains

public boolean contains(Object value)
Specified by:
contains in interface Collection<V>
Overrides:
contains in class AbstractCollection<V>

iterator

public Iterator<V> iterator()
Specified by:
iterator in interface Iterable<V>
Specified by:
iterator in interface Collection<V>
Specified by:
iterator in class AbstractCollection<V>


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