Class AbstractListValuedMap.WrappedList
- java.lang.Object
-
- org.apache.commons.collections4.multimap.AbstractMultiValuedMap.WrappedCollection
-
- org.apache.commons.collections4.multimap.AbstractListValuedMap.WrappedList
-
- All Implemented Interfaces:
java.lang.Iterable<V>
,java.util.Collection<V>
,java.util.List<V>
- Enclosing class:
- AbstractListValuedMap<K,V>
private class AbstractListValuedMap.WrappedList extends AbstractMultiValuedMap.WrappedCollection implements java.util.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 Constructor Description WrappedList(K key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, V value)
boolean
addAll(int index, java.util.Collection<? extends V> c)
boolean
equals(java.lang.Object other)
V
get(int index)
protected java.util.List<V>
getMapping()
int
hashCode()
int
indexOf(java.lang.Object o)
int
lastIndexOf(java.lang.Object o)
java.util.ListIterator<V>
listIterator()
java.util.ListIterator<V>
listIterator(int index)
V
remove(int index)
V
set(int index, V value)
java.util.List<V>
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
-
-
-
-
Constructor Detail
-
WrappedList
public WrappedList(K key)
-
-
Method Detail
-
getMapping
protected java.util.List<V> getMapping()
- Overrides:
getMapping
in classAbstractMultiValuedMap.WrappedCollection
-
addAll
public boolean addAll(int index, java.util.Collection<? extends V> c)
- Specified by:
addAll
in interfacejava.util.List<V>
-
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interfacejava.util.List<V>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interfacejava.util.List<V>
-
listIterator
public java.util.ListIterator<V> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<V>
-
listIterator
public java.util.ListIterator<V> listIterator(int index)
- Specified by:
listIterator
in interfacejava.util.List<V>
-
subList
public java.util.List<V> subList(int fromIndex, int toIndex)
- Specified by:
subList
in interfacejava.util.List<V>
-
equals
public boolean equals(java.lang.Object other)
-
-