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

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<Quad<T,K,L,M>>
              extended by com.planet_ink.coffee_mud.core.collections.QuadVector<T,K,L,M>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Quad<T,K,L,M>>, java.util.Collection<Quad<T,K,L,M>>, java.util.List<Quad<T,K,L,M>>, java.util.RandomAccess

public class QuadVector<T,K,L,M>
extends java.util.Vector<Quad<T,K,L,M>>
implements java.util.List<Quad<T,K,L,M>>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
QuadVector()
           
 
Method Summary
 void add(T t, K k, L l, M m)
           
 void addElement(T t, K k, L l, M m)
           
 boolean contains(java.lang.Object o)
           
 boolean containsFirst(T t)
           
 boolean containsFourth(M m)
           
 boolean containsSecond(K k)
           
 boolean containsThird(L l)
           
 T elementAtFirst(int index)
           
 M elementAtFourth(int index)
           
 K elementAtSecond(int index)
           
 L elementAtThird(int index)
           
 java.util.Enumeration<T> firstElements()
           
 T firstFirstElement(int index)
           
 M firstFourthElement(int index)
           
 java.util.Iterator<T> firstIterator()
           
 K firstSecondElement(int index)
           
 L firstThirdElement(int index)
           
 java.util.Enumeration<M> fourthElements()
           
 java.util.Iterator<M> fourthIterator()
           
 T getFirst(int index)
           
 Quad.FirstConverter<T,K,L,M> getFirstConverter()
           
 M getFourth(int index)
           
 Quad.FourthConverter<T,K,L,M> getFourthConverter()
           
 K getSecond(int index)
           
 Quad.SecondConverter<T,K,L,M> getSecondConverter()
           
 L getThird(int index)
           
 Quad.ThirdConverter<T,K,L,M> getThirdConverter()
           
 int indexOf(java.lang.Object o)
           
 int indexOf(java.lang.Object o, int index)
           
 int indexOfFirst(T t)
           
 int indexOfFirst(T t, int index)
           
 int indexOfFourth(M m)
           
 int indexOfFourth(M m, 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)
           
 M lastFourthElement(int index)
           
 int lastIndexOfFirst(T t)
           
 int lastIndexOfFirst(T t, int index)
           
 int lastIndexOfFourth(M m)
           
 int lastIndexOfFourth(M m, 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 removeElementFourth(M m)
           
 boolean removeElementSecond(K k)
           
 boolean removeElementThird(L l)
           
 boolean removeFirst(T t)
           
 boolean removeFourth(M m)
           
 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[] objs)
           
 M[] toArrayFourth(M[] objs)
           
 K[] toArraySecond(K[] objs)
           
 L[] toArrayThird(L[] objs)
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
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, containsAll, equals, get, hashCode, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

QuadVector

public QuadVector()
Method Detail

getFirstConverter

public Quad.FirstConverter<T,K,L,M> getFirstConverter()

getSecondConverter

public Quad.SecondConverter<T,K,L,M> getSecondConverter()

getThirdConverter

public Quad.ThirdConverter<T,K,L,M> getThirdConverter()

getFourthConverter

public Quad.FourthConverter<T,K,L,M> getFourthConverter()

firstElements

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

secondElements

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

thirdElements

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

fourthElements

public java.util.Enumeration<M> fourthElements()

firstIterator

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

secondIterator

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

thirdIterator

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

fourthIterator

public java.util.Iterator<M> fourthIterator()

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection<Quad<T,K,L,M>>
Specified by:
contains in interface java.util.List<Quad<T,K,L,M>>
Overrides:
contains in class java.util.Vector<Quad<T,K,L,M>>

indexOf

public int indexOf(java.lang.Object o)
Specified by:
indexOf in interface java.util.List<Quad<T,K,L,M>>
Overrides:
indexOf in class java.util.Vector<Quad<T,K,L,M>>

indexOf

public int indexOf(java.lang.Object o,
                   int index)
Overrides:
indexOf in class java.util.Vector<Quad<T,K,L,M>>

indexOfFirst

public int indexOfFirst(T t)

indexOfSecond

public int indexOfSecond(K k)

indexOfThird

public int indexOfThird(L l)

indexOfFourth

public int indexOfFourth(M m)

getFirst

public T getFirst(int index)

getSecond

public K getSecond(int index)

getThird

public L getThird(int index)

getFourth

public M getFourth(int index)

add

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

addElement

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

containsFirst

public boolean containsFirst(T t)

containsSecond

public boolean containsSecond(K k)

containsThird

public boolean containsThird(L l)

containsFourth

public boolean containsFourth(M m)

elementAtFirst

public T elementAtFirst(int index)

elementAtSecond

public K elementAtSecond(int index)

elementAtThird

public L elementAtThird(int index)

elementAtFourth

public M elementAtFourth(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)

indexOfFourth

public int indexOfFourth(M m,
                         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)

lastIndexOfFourth

public int lastIndexOfFourth(M m,
                             int index)

lastIndexOfFirst

public int lastIndexOfFirst(T t)

lastIndexOfSecond

public int lastIndexOfSecond(K k)

lastIndexOfThird

public int lastIndexOfThird(L l)

lastIndexOfFourth

public int lastIndexOfFourth(M m)

removeFirst

public boolean removeFirst(T t)

removeSecond

public boolean removeSecond(K k)

removeThird

public boolean removeThird(L l)

removeFourth

public boolean removeFourth(M m)

removeElementFirst

public boolean removeElementFirst(T t)

removeElementSecond

public boolean removeElementSecond(K k)

removeElementThird

public boolean removeElementThird(L l)

removeElementFourth

public boolean removeElementFourth(M m)

firstFirstElement

public T firstFirstElement(int index)

firstSecondElement

public K firstSecondElement(int index)

firstThirdElement

public L firstThirdElement(int index)

firstFourthElement

public M firstFourthElement(int index)

lastFirstElement

public T lastFirstElement(int index)

lastSecondElement

public K lastSecondElement(int index)

lastThirdElement

public L lastThirdElement(int index)

lastFourthElement

public M lastFourthElement(int index)

toArrayFirst

public T[] toArrayFirst(T[] objs)

toArraySecond

public K[] toArraySecond(K[] objs)

toArrayThird

public L[] toArrayThird(L[] objs)

toArrayFourth

public M[] toArrayFourth(M[] objs)