|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.tools.ephemerisComparator.Data<T>
T - this is used to specify which type of Data is stored in the object.public class Data<T>
This class represents a set of columns, which values are Ts.
| Constructor Summary | |
|---|---|
Data(ArrayList<ArrayList<T>> clmns)
this constructor initialises the columns |
|
| Method Summary | |
|---|---|
Data<T> |
extractData(int[] columnIndexes)
Extracts several columns from this Data object and produces a Data object from them. |
ArrayList<T> |
getColumn(int columnIndex)
Gets a column. |
int |
getColumnNumber()
Gets the number of columns. |
ArrayList<T> |
getLine(int lineIndex)
Gets a line. |
int |
getLineNumber()
gets the number of lines in the data table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Data(ArrayList<ArrayList<T>> clmns)
clmns - the columns to put in the attribute
EphemerisComparatorRuntimeException - when columns is null| Method Detail |
|---|
public final ArrayList<T> getColumn(int columnIndex)
columnIndex - the index of the column to return
public final int getColumnNumber()
public final ArrayList<T> getLine(int lineIndex)
lineIndex - the index of the line to return
public final int getLineNumber()
public final Data<T> extractData(int[] columnIndexes)
columnIndexes - the table that contains all the indexes of the columns to extract.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||