at.molindo.utils.data
Class LinkedPairList<K,V>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<Pair<K,V>>
                  extended by 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

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LinkedPairList()
           
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.
 
Method Summary
static
<K,V> LinkedPairList<K,V>
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 class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

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
Method Detail

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.