public class TupleList extends java.util.LinkedList<Tuple>
Constructor and Description |
---|
TupleList() |
Modifier and Type | Method and Description |
---|---|
TupleList |
addTuple(Tuple t) |
TupleList |
addTuples(TupleList tl) |
TupleList |
copy(TableSchema tableSchema)
copy tuple list by copying each tuple on the list and returning the
copied list.
|
TupleList |
reverse() |
Table |
toTable(Table tab) |
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 TupleList copy(TableSchema tableSchema)
tableSchema
- -- table schema of the listpublic TupleList reverse()