E - Type of the elements in this tuple.public class Tuple<E>
extends java.util.LinkedList<E>
| Constructor and Description |
|---|
Tuple(java.util.Collection<E> collection)
Construct a tuple containing all the elements of the given collection.
|
Tuple(E... elements)
Construct a tuple with all the given elements.
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic Tuple(java.util.Collection<E> collection)
collection - The collection.public Tuple(E... elements)
elements - The elements.