Package jisa.results
Class ResultList
- java.lang.Object
- 
- jisa.results.ResultTable
- 
- jisa.results.ResultList
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<Row>
 
 public class ResultList extends ResultTable 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceResultList.ColumnBuilder- 
Nested classes/interfaces inherited from class jisa.results.ResultTableResultTable.ClearListener, ResultTable.Rowable, ResultTable.RowBuilder, ResultTable.RowListener, ResultTable.RowSetter
 
- 
 - 
Field Summary- 
Fields inherited from class jisa.results.ResultTableSTANDARD_TYPES
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description ResultList(java.lang.String... names)ResultList(java.util.Collection<Column> columns)protectedResultList(java.util.List<Row> rows, boolean dummy)ResultList(Column... columns)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddRowData(Row row)Implementation method for storing a given Row of data.protected voidclearData()Implementation method for clearing all data from the table.static java.util.stream.Collector<Row,?,ResultList>collect()static java.util.stream.Collector<Row,?,ResultList>collect(Column... columns)static java.util.stream.Collector<Row,?,ResultList>collect(ResultTable source)static ResultListcopyOf(ResultTable original)static ResultListemptyCopyOf(ResultTable original)RowgetRow(int index)Returns the row with the given index as a Row object.intgetRowCount()Returns the number of rows in the table.java.util.Iterator<Row>iterator()static ResultListloadFile(java.lang.String filePath)static java.util.stream.Collector<java.util.Map,?,ResultList>mapCollector()java.util.stream.Stream<Row>stream()Returns a sequential Stream of Row objects with this table as its source- 
Methods inherited from class jisa.results.ResultTableaddClearListener, addData, addRow, addRow, addRowListener, allMatch, clear, collector, directionalSplit, directionalSplit, filter, findColumn, findColumn, findColumn, findColumn, findRow, get, getAttribute, getAttributeLine, getAttributes, getColumn, getColumnCount, getColumnHeaderLine, getColumns, getColumnsAsArray, getCSVLine, getFirstNumericColumn, getHTML, getNthNumericColumn, getNumericColumns, getRows, getUniqueValues, getUniqueValues, mapRow, mapRow, mapRow, mapRows, mapRows, max, max, maxBy, maxBy, mean, mean, min, min, minBy, minBy, noneMatch, output, output, output, outputHTML, outputHTML, outputHTML, outputTable, outputTable, outputTable, outputTable, parseColumnHeaderLine, parseCSVLine, removeClearListener, removeRowListener, reverse, setAttribute, setAttribute, size, sorted, sorted, split, split, startRow, subTable, subTable, subTable, toList, toList, toMatrix, toMatrix, transform
 
- 
 
- 
- 
- 
Method Detail- 
copyOfpublic static ResultList copyOf(ResultTable original) 
 - 
emptyCopyOfpublic static ResultList emptyCopyOf(ResultTable original) 
 - 
loadFilepublic static ResultList loadFile(java.lang.String filePath) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
getRowpublic Row getRow(int index) Description copied from class:ResultTableReturns the row with the given index as a Row object.- Specified by:
- getRowin class- ResultTable
- Parameters:
- index- Row index
- Returns:
- Row object for given index
 
 - 
addRowDataprotected void addRowData(Row row) Description copied from class:ResultTableImplementation method for storing a given Row of data.- Specified by:
- addRowDatain class- ResultTable
- Parameters:
- row- Row to store
 
 - 
clearDataprotected void clearData() Description copied from class:ResultTableImplementation method for clearing all data from the table.- Specified by:
- clearDatain class- ResultTable
 
 - 
getRowCountpublic int getRowCount() Description copied from class:ResultTableReturns the number of rows in the table.- Specified by:
- getRowCountin class- ResultTable
- Returns:
- Number of rows
 
 - 
streampublic java.util.stream.Stream<Row> stream() Description copied from class:ResultTableReturns a sequential Stream of Row objects with this table as its source- Specified by:
- streamin class- ResultTable
- Returns:
- Stream of rows
 
 - 
iteratorpublic java.util.Iterator<Row> iterator() 
 - 
collectpublic static java.util.stream.Collector<Row,?,ResultList> collect(ResultTable source) 
 - 
collectpublic static java.util.stream.Collector<Row,?,ResultList> collect(Column... columns) 
 - 
collectpublic static java.util.stream.Collector<Row,?,ResultList> collect() 
 - 
mapCollectorpublic static java.util.stream.Collector<java.util.Map,?,ResultList> mapCollector() 
 
- 
 
-