protected class AbstractMultimap.WrappedList extends AbstractMultimap.WrappedCollection implements List<V>
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractMultimap.WrappedList.DelegateListIterator |
AbstractMultimap.WrappedCollection.DelegateIterator
Modifier | Constructor and Description |
---|---|
protected |
AbstractMultimap.WrappedList(K key,
Collection<V> values) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
V element) |
boolean |
addAll(int index,
Collection<? extends V> c) |
protected List<V> |
delegate() |
V |
get(int index) |
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
ListIterator<V> |
listIterator() |
ListIterator<V> |
listIterator(int index) |
V |
remove(int index) |
V |
set(int index,
V element) |
List<V> |
subList(int fromIndex,
int toIndex) |
add, addAll, addToMap, clear, contains, containsAll, equals, getKey, hashCode, isEmpty, iterator, remove, removeAll, removeIfEmpty, retainAll, size, toArray, toArray, toString
protected AbstractMultimap.WrappedList(K key, Collection<V> values)
protected List<V> delegate()
delegate
in class AbstractMultimap.WrappedCollection
AbstractMultimap.WrappedCollection.delegate()
public boolean addAll(int index, Collection<? extends V> c)
addAll
in interface List<V>
List.addAll(int, java.util.Collection)
public V get(int index)
get
in interface List<V>
List.get(int)
public V set(int index, V element)
set
in interface List<V>
List.set(int, java.lang.Object)
public void add(int index, V element)
add
in interface List<V>
List.add(int, java.lang.Object)
public V remove(int index)
remove
in interface List<V>
List.remove(int)
public int indexOf(Object o)
indexOf
in interface List<V>
List.indexOf(java.lang.Object)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<V>
List.lastIndexOf(java.lang.Object)
public ListIterator<V> listIterator()
listIterator
in interface List<V>
List.listIterator()
public ListIterator<V> listIterator(int index)
listIterator
in interface List<V>
List.listIterator(int)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.