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

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.SVector<Triad<T,K,L>>
      extended by com.planet_ink.coffee_mud.core.collections.TriadSVector<T,K,L>
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<Triad<T,K,L>>, java.util.Collection<Triad<T,K,L>>, java.util.List<Triad<T,K,L>>, java.util.RandomAccess

public final class TriadSVector<T,K,L>
extends SVector<Triad<T,K,L>>

See Also:
Serialized Form

Constructor Summary
TriadSVector()
           
 
Method Summary
 void add(T t, K k, L l)
           
 void addElement(T t, K k, L l)
           
 boolean containsFirst(T t)
           
 boolean containsSecond(K k)
           
 boolean containsThird(L l)
           
 T elementAtFirst(int index)
           
 K elementAtSecond(int index)
           
 L elementAtThird(int index)
           
 java.util.Enumeration<T> firstElements()
           
 T firstFirstElement(int index)
           
 java.util.Iterator<T> firstIterator()
           
 K firstSecondElement(int index)
           
 L firstThirdElement(int index)
           
 T getFirst(int index)
           
 Triad.FirstConverter<T,K,L> getFirstConverter()
           
 K getSecond(int index)
           
 Triad.SecondConverter<T,K,L> getSecondConverter()
           
 L getThird(int index)
           
 Triad.ThirdConverter<T,K,L> getThirdConverter()
           
 int indexOfFirst(T t)
           
 int indexOfFirst(T t, int index)
           
 int indexOfSecond(K k)
           
 int indexOfSecond(K k, int index)
           
 int indexOfThird(L l)
           
 int indexOfThird(L l, int index)
           
 T lastFirstElement(int index)
           
 int lastIndexOfFirst(T t)
           
 int lastIndexOfFirst(T t, int index)
           
 int lastIndexOfSecond(K k)
           
 int lastIndexOfSecond(K k, int index)
           
 int lastIndexOfThird(L l)
           
 int lastIndexOfThird(L l, int index)
           
 K lastSecondElement(int index)
           
 L lastThirdElement(int index)
           
 boolean removeElementFirst(T t)
           
 boolean removeElementSecond(K k)
           
 boolean removeElementThird(L l)
           
 boolean removeFirst(T t)
           
 boolean removeSecond(K k)
           
 boolean removeThird(L l)
           
 java.util.Enumeration<K> secondElements()
           
 java.util.Iterator<K> secondIterator()
           
 java.util.Enumeration<L> thirdElements()
           
 java.util.Iterator<L> thirdIterator()
           
 T[] toArrayFirst(T[] a)
           
 K[] toArraySecond(K[] a)
           
 L[] toArrayThird(L[] a)
           
 
Methods inherited from class com.planet_ink.coffee_mud.core.collections.SVector
add, add, addAll, addAll, addAll, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, copyOf, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, toVector, trimToSize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriadSVector

public TriadSVector()
Method Detail

getFirstConverter

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

getSecondConverter

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

getThirdConverter

public final Triad.ThirdConverter<T,K,L> getThirdConverter()

firstElements

public final java.util.Enumeration<T> firstElements()

secondElements

public final java.util.Enumeration<K> secondElements()

thirdElements

public final java.util.Enumeration<L> thirdElements()

firstIterator

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

secondIterator

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

thirdIterator

public final java.util.Iterator<L> thirdIterator()

indexOfFirst

public int indexOfFirst(T t)

indexOfSecond

public int indexOfSecond(K k)

indexOfThird

public int indexOfThird(L l)

getFirst

public T getFirst(int index)

getSecond

public K getSecond(int index)

getThird

public L getThird(int index)

add

public void add(T t,
                K k,
                L l)

addElement

public void addElement(T t,
                       K k,
                       L l)

containsFirst

public boolean containsFirst(T t)

containsSecond

public boolean containsSecond(K k)

containsThird

public boolean containsThird(L l)

elementAtFirst

public T elementAtFirst(int index)

elementAtSecond

public K elementAtSecond(int index)

elementAtThird

public L elementAtThird(int index)

indexOfFirst

public int indexOfFirst(T t,
                        int index)

indexOfSecond

public int indexOfSecond(K k,
                         int index)

indexOfThird

public int indexOfThird(L l,
                        int index)

lastIndexOfFirst

public int lastIndexOfFirst(T t,
                            int index)

lastIndexOfSecond

public int lastIndexOfSecond(K k,
                             int index)

lastIndexOfThird

public int lastIndexOfThird(L l,
                            int index)

lastIndexOfFirst

public int lastIndexOfFirst(T t)

lastIndexOfSecond

public int lastIndexOfSecond(K k)

lastIndexOfThird

public int lastIndexOfThird(L l)

removeFirst

public boolean removeFirst(T t)

removeSecond

public boolean removeSecond(K k)

removeThird

public boolean removeThird(L l)

removeElementFirst

public boolean removeElementFirst(T t)

removeElementSecond

public boolean removeElementSecond(K k)

removeElementThird

public boolean removeElementThird(L l)

firstFirstElement

public T firstFirstElement(int index)

firstSecondElement

public K firstSecondElement(int index)

firstThirdElement

public L firstThirdElement(int index)

lastFirstElement

public T lastFirstElement(int index)

lastSecondElement

public K lastSecondElement(int index)

lastThirdElement

public L lastThirdElement(int index)

toArrayFirst

public T[] toArrayFirst(T[] a)

toArraySecond

public K[] toArraySecond(K[] a)

toArrayThird

public L[] toArrayThird(L[] a)