com.planet_ink.coffee_mud.core.collections
Class PairSLinkedList<T,K>

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.SLinkedList<Pair<T,K>>
      extended by com.planet_ink.coffee_mud.core.collections.PairSLinkedList<T,K>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Pair<T,K>>, java.util.Collection<Pair<T,K>>, java.util.Deque<Pair<T,K>>, java.util.List<Pair<T,K>>, java.util.Queue<Pair<T,K>>

public final class PairSLinkedList<T,K>
extends SLinkedList<Pair<T,K>>

See Also:
Serialized Form

Constructor Summary
PairSLinkedList()
           
 
Method Summary
 void add(T t, K k)
           
 void addElement(T t, K k)
           
 boolean containsFirst(T t)
           
 boolean containsSecond(K k)
           
 T elementAtFirst(int index)
           
 K elementAtSecond(int index)
           
 java.util.Iterator<T> firstIterator()
           
 T getFirst(int index)
           
 Pair.FirstConverter<T,K> getFirstConverter()
           
 K getSecond(int index)
           
 Pair.SecondConverter<T,K> getSecondConverter()
           
 int indexOfFirst(T t)
           
 int indexOfFirst(T t, int index)
           
 int indexOfSecond(K k)
           
 int indexOfSecond(K k, int index)
           
 int lastIndexOfFirst(T t)
           
 int lastIndexOfFirst(T t, int index)
           
 int lastIndexOfSecond(K k)
           
 int lastIndexOfSecond(K k, int index)
           
 boolean removeElementFirst(T t)
           
 boolean removeElementSecond(K k)
           
 boolean removeFirst(T t)
           
 boolean removeSecond(K k)
           
 java.util.Iterator<K> secondIterator()
           
 T[] toArrayFirst(T[] a)
           
 K[] toArraySecond(K[] a)
           
 
Methods inherited from class com.planet_ink.coffee_mud.core.collections.SLinkedList
add, add, addAll, addAll, addAll, addAll, addAll, addFirst, addLast, clear, contains, containsAll, copyOf, descendingIterator, element, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, retainAll, set, size, subList, toArray, toArray, toLinkedList, toString, toVector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PairSLinkedList

public PairSLinkedList()
Method Detail

getFirstConverter

public final Pair.FirstConverter<T,K> getFirstConverter()

getSecondConverter

public final Pair.SecondConverter<T,K> getSecondConverter()

firstIterator

public final java.util.Iterator<T> firstIterator()

secondIterator

public final java.util.Iterator<K> secondIterator()

indexOfFirst

public int indexOfFirst(T t)

indexOfSecond

public int indexOfSecond(K k)

getFirst

public T getFirst(int index)

getSecond

public K getSecond(int index)

add

public void add(T t,
                K k)

addElement

public void addElement(T t,
                       K k)

containsFirst

public boolean containsFirst(T t)

containsSecond

public boolean containsSecond(K k)

elementAtFirst

public T elementAtFirst(int index)

elementAtSecond

public K elementAtSecond(int index)

indexOfFirst

public int indexOfFirst(T t,
                        int index)

indexOfSecond

public int indexOfSecond(K k,
                         int index)

lastIndexOfFirst

public int lastIndexOfFirst(T t,
                            int index)

lastIndexOfSecond

public int lastIndexOfSecond(K k,
                             int index)

lastIndexOfFirst

public int lastIndexOfFirst(T t)

lastIndexOfSecond

public int lastIndexOfSecond(K k)

removeFirst

public boolean removeFirst(T t)

removeSecond

public boolean removeSecond(K k)

removeElementFirst

public boolean removeElementFirst(T t)

removeElementSecond

public boolean removeElementSecond(K k)

toArrayFirst

public T[] toArrayFirst(T[] a)

toArraySecond

public K[] toArraySecond(K[] a)