Package org.apache.commons.beanutils
Class WeakFastHashMap.CollectionView<E>
java.lang.Object
org.apache.commons.beanutils.WeakFastHashMap.CollectionView<E>
- Type Parameters:
E
- the element type
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
- Direct Known Subclasses:
WeakFastHashMap.EntrySet
,WeakFastHashMap.KeySet
,WeakFastHashMap.Values
- Enclosing class:
WeakFastHashMap<K,
V>
Abstract collection implementation shared by keySet(), values() and entrySet().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends E> c) void
clear()
boolean
boolean
containsAll
(Collection<?> o) boolean
protected abstract Collection
<E> int
hashCode()
boolean
isEmpty()
iterator()
protected abstract E
iteratorNext
(Map.Entry<K, V> entry) boolean
boolean
removeAll
(Collection<?> o) boolean
retainAll
(Collection<?> o) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] o) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream
-
Constructor Details
-
CollectionView
public CollectionView()
-
-
Method Details
-
get
-
iteratorNext
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<E>
-
remove
- Specified by:
remove
in interfaceCollection<E>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<E>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<E>
-
size
public int size()- Specified by:
size
in interfaceCollection<E>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<E>
-
contains
- Specified by:
contains
in interfaceCollection<E>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<E>
-
toArray
public <T> T[] toArray(T[] o) - Specified by:
toArray
in interfaceCollection<E>
-
toArray
- Specified by:
toArray
in interfaceCollection<E>
-
equals
- Specified by:
equals
in interfaceCollection<E>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<E>
- Overrides:
hashCode
in classObject
-
add
- Specified by:
add
in interfaceCollection<E>
-
addAll
- Specified by:
addAll
in interfaceCollection<E>
-
iterator
-