org.omegahat.Environment.DataStructures
Interface Subsettable
- All Known Implementing Classes:
- numeric, ObjectDatabase, vector, OrderedTable, BasicExpression, List, BinaryExpression, ModelFormula, DataList, GraphicalContainer, HistogramContents, NamingService
- public interface Subsettable
Interface that allows an object to support Omegahat
indexing in the form of expressions x[0],
x["a"] and the corresponding
[[ form (which returns a scalar, if possible, rather than
an object of the same class as the source).
|
Method Summary |
java.lang.Object |
subset(java.lang.Object index,
boolean keepStructure)
|
subset
public java.lang.Object subset(java.lang.Object index,
boolean keepStructure)
throws java.lang.Throwable