E
- Type of the elements in this tuple.public class Tuple<E>
extends java.util.LinkedList<E>
Red (tfeng) |
Yellow (tfeng) |
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, toArray
equals, hashCode, listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
public Tuple(java.util.Collection<E> collection)
collection
- The collection.public Tuple(E... elements)
elements
- The elements.