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 TypeMethodDescriptionboolean
boolean
addAll
(Collection c) void
clear()
boolean
boolean
boolean
protected abstract Collection
int
hashCode()
boolean
isEmpty()
iterator()
protected abstract Object
iteratorNext
(Map.Entry entry) boolean
boolean
boolean
int
size()
Object[]
toArray()
Object[]
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
-
remove
- Specified by:
remove
in interfaceCollection
-
removeAll
- Specified by:
removeAll
in interfaceCollection
-
retainAll
- Specified by:
retainAll
in interfaceCollection
-
size
public int size()- Specified by:
size
in interfaceCollection
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection
-
contains
- Specified by:
contains
in interfaceCollection
-
containsAll
- Specified by:
containsAll
in interfaceCollection
-
toArray
- Specified by:
toArray
in interfaceCollection
-
toArray
- Specified by:
toArray
in interfaceCollection
-
equals
- Specified by:
equals
in interfaceCollection
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection
- Overrides:
hashCode
in classObject
-
add
- Specified by:
add
in interfaceCollection
-
addAll
- Specified by:
addAll
in interfaceCollection
-
iterator
- Specified by:
iterator
in interfaceCollection
- Specified by:
iterator
in interfaceIterable
-