Class AbstractHashedMap.EntrySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet
-
- org.apache.commons.collections.map.AbstractHashedMap.EntrySet
-
- All Implemented Interfaces:
Iterable
,Collection
,Set
- Enclosing class:
- AbstractHashedMap
protected static class AbstractHashedMap.EntrySet extends AbstractSet
EntrySet implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractHashedMap
parent
The parent map
-
Constructor Summary
Constructors Modifier Constructor Description protected
EntrySet(AbstractHashedMap parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
contains(Object entry)
Iterator
iterator()
boolean
remove(Object obj)
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.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
add, addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
-
-
-
Field Detail
-
parent
protected final AbstractHashedMap parent
The parent map
-
-
Constructor Detail
-
EntrySet
protected EntrySet(AbstractHashedMap parent)
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceSet
- Specified by:
size
in classAbstractCollection
-
clear
public void clear()
- Specified by:
clear
in interfaceCollection
- Specified by:
clear
in interfaceSet
- Overrides:
clear
in classAbstractCollection
-
contains
public boolean contains(Object entry)
- Specified by:
contains
in interfaceCollection
- Specified by:
contains
in interfaceSet
- Overrides:
contains
in classAbstractCollection
-
remove
public boolean remove(Object obj)
- Specified by:
remove
in interfaceCollection
- Specified by:
remove
in interfaceSet
- Overrides:
remove
in classAbstractCollection
-
iterator
public Iterator iterator()
- Specified by:
iterator
in interfaceCollection
- Specified by:
iterator
in interfaceIterable
- Specified by:
iterator
in interfaceSet
- Specified by:
iterator
in classAbstractCollection
-
-