public class DelegatingTupleList extends AbstractTupleList
TupleList based on a list of
 List<Member> tuples.AbstractTupleList.AbstractTupleListIteratorTupleList.PositionCallbackarity, mutablemodCount| Constructor and Description | 
|---|
DelegatingTupleList(int arity,
                   List<List<Member>> list)
Creates a DelegatingTupleList. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(int index,
   List<Member> element)  | 
void | 
addTuple(Member... members)  | 
TupleList | 
cloneList(int capacity)
Creates a copy of this list that has the same type and has a given
 capacity. 
 | 
List<Member> | 
get(int index)  | 
TupleList | 
project(int[] destIndices)  | 
List<Member> | 
set(int index,
   List<Member> element)  | 
int | 
size()  | 
List<Member> | 
slice(int column)
Returns a list of the members at a given column. 
 | 
TupleList | 
subList(int fromIndex,
       int toIndex)  | 
protected TupleIterator | 
tupleIteratorInternal()  | 
TupleList | 
withPositionCallback(TupleList.PositionCallback positionCallback)  | 
addCurrent, fix, get, getArity, iterator, tupleCursor, tupleIteratoradd, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRangeaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, toArray, toArrayprotected TupleIterator tupleIteratorInternal()
tupleIteratorInternal in class AbstractTupleListpublic TupleList subList(int fromIndex, int toIndex)
public int size()
public List<Member> slice(int column)
TupleListThe list is modifiable if and only if this TupleList is modifiable. Adding an element to a slice will create a tuple whose members in other columns are null. Removing an element from a slicer will remove a tuple.
column - Ordinal of the member in each tuple to projectpublic TupleList cloneList(int capacity)
TupleListIf capacity is negative, populates the list. A deep copy is made, so that it the contents of the list are not affected to changes to any backing collections.
capacity - Capacitypublic void addTuple(Member... members)
public TupleList project(int[] destIndices)
public TupleList withPositionCallback(TupleList.PositionCallback positionCallback)