Class AbstractListValuedMap.WrappedList
java.lang.Object
AbstractMultiValuedMap<K,V>.org.apache.commons.collections4.multimap.AbstractMultiValuedMap.WrappedCollection
org.apache.commons.collections4.multimap.AbstractListValuedMap.WrappedList
- All Implemented Interfaces:
Iterable<V>
,Collection<V>
,List<V>
- Enclosing class:
AbstractListValuedMap<K,
V>
private class AbstractListValuedMap.WrappedList
extends AbstractMultiValuedMap<K,V>.WrappedCollection
implements List<V>
Wrapped list to handle add and remove on the list returned by get(object)
-
Field Summary
Fields inherited from class org.apache.commons.collections4.multimap.AbstractMultiValuedMap.WrappedCollection
key
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
addAll
(int index, Collection<? extends V> c) boolean
get
(int index) int
hashCode()
int
int
listIterator
(int index) remove
(int index) subList
(int fromIndex, int toIndex) Methods inherited from class org.apache.commons.collections4.multimap.AbstractMultiValuedMap.WrappedCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, 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
-
Constructor Details
-
WrappedList
-
-
Method Details
-
getMapping
- Overrides:
getMapping
in classAbstractMultiValuedMap<K,
V>.WrappedCollection
-
add
-
addAll
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<V>
-
listIterator
- Specified by:
listIterator
in interfaceList<V>
-
listIterator
- Specified by:
listIterator
in interfaceList<V>
-
remove
-
set
-
subList
-
equals
-
hashCode
public int hashCode()
-