PairList<T,K>, 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>> implements PairList<T,K>
| Constructor | Description |
|---|---|
PairSLinkedList() |
| Modifier and Type | Method | Description |
|---|---|---|
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[] objs) |
|
K[] |
toArraySecond(K[] objs) |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, 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, toVectorpublic final Pair.FirstConverter<T,K> getFirstConverter()
getFirstConverter in interface PairList<T,K>public final Pair.SecondConverter<T,K> getSecondConverter()
getSecondConverter in interface PairList<T,K>public final java.util.Iterator<T> firstIterator()
firstIterator in interface PairList<T,K>public final java.util.Iterator<K> secondIterator()
secondIterator in interface PairList<T,K>public int indexOfFirst(T t)
indexOfFirst in interface PairList<T,K>public int indexOfSecond(K k)
indexOfSecond in interface PairList<T,K>public boolean containsFirst(T t)
containsFirst in interface PairList<T,K>public boolean containsSecond(K k)
containsSecond in interface PairList<T,K>public T elementAtFirst(int index)
elementAtFirst in interface PairList<T,K>public K elementAtSecond(int index)
elementAtSecond in interface PairList<T,K>public int indexOfFirst(T t, int index)
indexOfFirst in interface PairList<T,K>public int indexOfSecond(K k, int index)
indexOfSecond in interface PairList<T,K>public int lastIndexOfFirst(T t, int index)
lastIndexOfFirst in interface PairList<T,K>public int lastIndexOfSecond(K k, int index)
lastIndexOfSecond in interface PairList<T,K>public int lastIndexOfFirst(T t)
lastIndexOfFirst in interface PairList<T,K>public int lastIndexOfSecond(K k)
lastIndexOfSecond in interface PairList<T,K>public boolean removeFirst(T t)
removeFirst in interface PairList<T,K>public boolean removeSecond(K k)
removeSecond in interface PairList<T,K>public boolean removeElementFirst(T t)
removeElementFirst in interface PairList<T,K>public boolean removeElementSecond(K k)
removeElementSecond in interface PairList<T,K>public T[] toArrayFirst(T[] objs)
toArrayFirst in interface PairList<T,K>