Package org.apache.commons.collections
Class FastHashMap.CollectionView
java.lang.Object
org.apache.commons.collections.FastHashMap.CollectionView
- All Implemented Interfaces:
Iterable,Collection
- Direct Known Subclasses:
FastHashMap.EntrySet,FastHashMap.KeySet,FastHashMap.Values
- Enclosing class:
FastHashMap
Abstract collection implementation shared by keySet(), values() and entrySet().
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection c) voidclear()booleanbooleanbooleanprotected abstract CollectioninthashCode()booleanisEmpty()iterator()protected abstract ObjectiteratorNext(Map.Entry entry) booleanbooleanbooleanintsize()Object[]toArray()Object[]Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
clearin interfaceCollection
-
remove
- Specified by:
removein interfaceCollection
-
removeAll
- Specified by:
removeAllin interfaceCollection
-
retainAll
- Specified by:
retainAllin interfaceCollection
-
size
public int size()- Specified by:
sizein interfaceCollection
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection
-
contains
- Specified by:
containsin interfaceCollection
-
containsAll
- Specified by:
containsAllin interfaceCollection
-
toArray
- Specified by:
toArrayin interfaceCollection
-
toArray
- Specified by:
toArrayin interfaceCollection
-
equals
- Specified by:
equalsin interfaceCollection- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection- Overrides:
hashCodein classObject
-
add
- Specified by:
addin interfaceCollection
-
addAll
- Specified by:
addAllin interfaceCollection
-
iterator
- Specified by:
iteratorin interfaceCollection- Specified by:
iteratorin interfaceIterable
-