public class Tuple<E> extends AbstractList<E> implements Serializable
modCount
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
E |
get(int index) |
int |
hashCode() |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex) |
Tuple<E> |
subTuple(int fromIndex,
int toIndex) |
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
@SafeVarargs public Tuple(E... contents)
public E get(int index)
public int size()
size
in interface Collection<E>
size
in interface List<E>
size
in class AbstractCollection<E>
public boolean equals(Object o)
equals
in interface Collection<E>
equals
in interface List<E>
equals
in class AbstractList<E>
public int hashCode()
hashCode
in interface Collection<E>
hashCode
in interface List<E>
hashCode
in class AbstractList<E>