Package org.opentrafficsim.kpi.sampling
Interface Table
-
- All Superinterfaces:
Identifiable
,Iterable<Record>
- All Known Implementing Classes:
AbstractTable
,ListTable
,SamplerData
public interface Table extends Iterable<Record>, Identifiable
Table with data stored in structured records.Copyright (c) 2020-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImmutableList<Column<?>>
getColumns()
Returns the list of columns.String
getDescription()
Returns the description.default int
getNumberOfColumns()
Returns the number of columns.boolean
isEmpty()
Returns whether the table is empty.-
Methods inherited from interface org.opentrafficsim.base.Identifiable
getId
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
getDescription
String getDescription()
Returns the description.- Returns:
- description
-
getColumns
ImmutableList<Column<?>> getColumns()
Returns the list of columns.- Returns:
- list of columns
-
getNumberOfColumns
default int getNumberOfColumns()
Returns the number of columns.- Returns:
- number of columns
-
isEmpty
boolean isEmpty()
Returns whether the table is empty.- Returns:
- whether the table is empty
-
-