org.omegahat.DataStructures.Data
Class SubsetDataList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--org.omegahat.DataStructures.Data.DataList
                          |
                          +--org.omegahat.DataStructures.Data.SubsetDataList
All Implemented Interfaces:
AssignableSubset, java.lang.Cloneable, java.util.Collection, java.util.List, RecordStreamListener, java.io.Serializable, Subsettable

public class SubsetDataList
extends DataList

A DataList that is derived as a subset of a parent DataList by specifying indeces or using an ObjectReader. The idea is that this is linked to the parent and in the future will receive events that affect the elements that are shared between it and its parent (and potentially other children).

See Also:
Serialized Form

Field Summary
protected  DataList source
          The DataList object from which this was derived.
 
Fields inherited from class org.omegahat.DataStructures.Data.DataList
COLUMNS, currentNum, data, names, ROWS
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SubsetDataList()
           
SubsetDataList(DataList parent)
           
SubsetDataList(DataList parent, Evaluable expression)
          The expression is ignored currently.
 
Method Summary
 DataList source()
           
 DataList source(DataList s)
           
 
Methods inherited from class org.omegahat.DataStructures.Data.DataList
addRecord, apply, apply, apply, apply, apply, apply, assignSubset, columnNames, columnNames, columnNames, createArgumentList, data, names, names, names, newRecord, processElement, rowNames, rowNames, rowNames, subset, toVector
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

source

protected DataList source
The DataList object from which this was derived.
Constructor Detail

SubsetDataList

public SubsetDataList()

SubsetDataList

public SubsetDataList(DataList parent)

SubsetDataList

public SubsetDataList(DataList parent,
                      Evaluable expression)
The expression is ignored currently.
Method Detail

source

public DataList source()

source

public DataList source(DataList s)