org.apache.commons.collections.map
Class AbstractHashedMap.EntrySet<K,V>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<Map.Entry<K,V>>
org.apache.commons.collections.map.AbstractHashedMap.EntrySet<K,V>
- All Implemented Interfaces:
- Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K,V>>, Set<Map.Entry<K,V>>
- Enclosing class:
- AbstractHashedMap<K,V>
protected static class AbstractHashedMap.EntrySet<K,V>
- extends AbstractSet<Map.Entry<K,V>>
EntrySet implementation.
parent
protected final AbstractHashedMap<K,V> parent
- The parent map
AbstractHashedMap.EntrySet
protected AbstractHashedMap.EntrySet(AbstractHashedMap<K,V> parent)
size
public int size()
- Specified by:
size
in interface Collection<Map.Entry<K,V>>
- Specified by:
size
in interface Set<Map.Entry<K,V>>
- Specified by:
size
in class AbstractCollection<Map.Entry<K,V>>
clear
public void clear()
- Specified by:
clear
in interface Collection<Map.Entry<K,V>>
- Specified by:
clear
in interface Set<Map.Entry<K,V>>
- Overrides:
clear
in class AbstractCollection<Map.Entry<K,V>>
contains
public boolean contains(Map.Entry<K,V> entry)
remove
public boolean remove(Object obj)
- Specified by:
remove
in interface Collection<Map.Entry<K,V>>
- Specified by:
remove
in interface Set<Map.Entry<K,V>>
- Overrides:
remove
in class AbstractCollection<Map.Entry<K,V>>
iterator
public Iterator<Map.Entry<K,V>> iterator()
- Specified by:
iterator
in interface Iterable<Map.Entry<K,V>>
- Specified by:
iterator
in interface Collection<Map.Entry<K,V>>
- Specified by:
iterator
in interface Set<Map.Entry<K,V>>
- Specified by:
iterator
in class AbstractCollection<Map.Entry<K,V>>
Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.