TriadList<T,K,L>
, java.io.Serializable
, java.lang.Cloneable
, 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 class TriadVector<T,K,L> extends java.util.Vector<Triad<T,K,L>> implements TriadList<T,K,L>
Constructor | Description |
---|---|
TriadVector() |
|
TriadVector(int initial) |
|
TriadVector(TriadList<T,K,L> list) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(T t,
K k,
L l) |
|
void |
addElement(T t,
K k,
L l) |
|
boolean |
contains(java.lang.Object o) |
|
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 |
indexOf(java.lang.Object o) |
|
int |
indexOf(java.lang.Object o,
int index) |
|
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[] objs) |
|
K[] |
toArraySecond(K[] objs) |
|
L[] |
toArrayThird(L[] objs) |
add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, addElement, capacity, clear, clone, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public Triad.FirstConverter<T,K,L> getFirstConverter()
getFirstConverter
in interface TriadList<T,K,L>
public Triad.SecondConverter<T,K,L> getSecondConverter()
getSecondConverter
in interface TriadList<T,K,L>
public Triad.ThirdConverter<T,K,L> getThirdConverter()
getThirdConverter
in interface TriadList<T,K,L>
public java.util.Enumeration<T> firstElements()
public java.util.Enumeration<K> secondElements()
public java.util.Enumeration<L> thirdElements()
public java.util.Iterator<T> firstIterator()
firstIterator
in interface TriadList<T,K,L>
public java.util.Iterator<K> secondIterator()
secondIterator
in interface TriadList<T,K,L>
public java.util.Iterator<L> thirdIterator()
thirdIterator
in interface TriadList<T,K,L>
public int indexOfSecond(K k)
indexOfSecond
in interface TriadList<T,K,L>
public boolean containsFirst(T t)
containsFirst
in interface TriadList<T,K,L>
public boolean containsSecond(K k)
containsSecond
in interface TriadList<T,K,L>
public boolean containsThird(L l)
containsThird
in interface TriadList<T,K,L>
public T elementAtFirst(int index)
elementAtFirst
in interface TriadList<T,K,L>
public K elementAtSecond(int index)
elementAtSecond
in interface TriadList<T,K,L>
public L elementAtThird(int index)
elementAtThird
in interface TriadList<T,K,L>
public boolean contains(java.lang.Object o)
public int indexOf(java.lang.Object o)
public int indexOf(java.lang.Object o, int index)
public int indexOfFirst(T t, int index)
indexOfFirst
in interface TriadList<T,K,L>
public int indexOfSecond(K k, int index)
indexOfSecond
in interface TriadList<T,K,L>
public int indexOfThird(L l, int index)
indexOfThird
in interface TriadList<T,K,L>
public int lastIndexOfFirst(T t, int index)
lastIndexOfFirst
in interface TriadList<T,K,L>
public int lastIndexOfSecond(K k, int index)
lastIndexOfSecond
in interface TriadList<T,K,L>
public int lastIndexOfThird(L l, int index)
lastIndexOfThird
in interface TriadList<T,K,L>
public int lastIndexOfFirst(T t)
lastIndexOfFirst
in interface TriadList<T,K,L>
public int lastIndexOfSecond(K k)
lastIndexOfSecond
in interface TriadList<T,K,L>
public int lastIndexOfThird(L l)
lastIndexOfThird
in interface TriadList<T,K,L>
public boolean removeFirst(T t)
removeFirst
in interface TriadList<T,K,L>
public boolean removeSecond(K k)
removeSecond
in interface TriadList<T,K,L>
public boolean removeThird(L l)
removeThird
in interface TriadList<T,K,L>
public boolean removeElementFirst(T t)
removeElementFirst
in interface TriadList<T,K,L>
public boolean removeElementSecond(K k)
removeElementSecond
in interface TriadList<T,K,L>
public boolean removeElementThird(L l)
removeElementThird
in interface TriadList<T,K,L>
public T firstFirstElement(int index)
public K firstSecondElement(int index)
public L firstThirdElement(int index)
public T lastFirstElement(int index)
public K lastSecondElement(int index)
public L lastThirdElement(int index)
public T[] toArrayFirst(T[] objs)
toArrayFirst
in interface TriadList<T,K,L>
public K[] toArraySecond(K[] objs)
toArraySecond
in interface TriadList<T,K,L>