at.molindo.utils.data
Class LinkedPairList<K,V>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<Pair<K,V>>
at.molindo.utils.data.LinkedPairList<K,V>
- All Implemented Interfaces:
- PairList<K,V>, Serializable, Cloneable, Iterable<Pair<K,V>>, Collection<Pair<K,V>>, Deque<Pair<K,V>>, List<Pair<K,V>>, Queue<Pair<K,V>>
public class LinkedPairList<K,V>
- extends LinkedList<Pair<K,V>>
- implements PairList<K,V>
- See Also:
- Serialized Form
|
Method Summary |
static
|
create()
|
void |
put(K key,
V value)
|
| Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
LinkedPairList
public LinkedPairList()
LinkedPairList
public LinkedPairList(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.
- Parameters:
c - the collection whose elements are to be placed into this list
- Throws:
NullPointerException - if the specified collection is null
create
public static <K,V> LinkedPairList<K,V> create()
put
public void put(K key,
V value)
- Specified by:
put in interface PairList<K,V>
Copyright © 2013 Molindo GmbH. All Rights Reserved.