public class ArrayPairList<K,V> extends ArrayList<Pair<K,V>> implements PairList<K,V>
modCount| Constructor and Description |
|---|
ArrayPairList() |
ArrayPairList(Collection<? extends Pair<K,V>> c)
Constructs a list containing the elements of the specified collection, in
the order they are returned by the collection's iterator.
|
ArrayPairList(int initialCapacity) |
ArrayPairList(K[] keys,
V[] values) |
ArrayPairList(List<K> keys,
List<V> values) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> ArrayPairList<K,V> |
create() |
static <K,V> ArrayPairList<K,V> |
create(K[] keys,
V[] values) |
static <K,V> ArrayPairList<K,V> |
create(List<K> keys,
List<V> values) |
static <K,V> ArrayPairList<K,V> |
createWithCapacity(int size) |
void |
put(K key,
V value) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringpublic ArrayPairList(int initialCapacity)
public ArrayPairList()
public ArrayPairList(Collection<? extends Pair<K,V>> c)
c - the collection whose elements are to be placed into this listNullPointerException - if the specified collection is nullpublic static <K,V> ArrayPairList<K,V> create()
public static <K,V> ArrayPairList<K,V> createWithCapacity(int size)
public static <K,V> ArrayPairList<K,V> create(K[] keys, V[] values)
public static <K,V> ArrayPairList<K,V> create(List<K> keys, List<V> values)
Copyright © 2014 Molindo GmbH. All Rights Reserved.