Package org.opentrafficsim.kpi.sampling
Class AbstractTable
- java.lang.Object
- 
- org.opentrafficsim.kpi.sampling.AbstractTable
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<Record>,- Identifiable,- Table
 - Direct Known Subclasses:
- ListTable,- SamplerData
 
 public abstract class AbstractTable extends java.lang.Object implements Table AbstractTableimplementation taking care of the columns.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
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractTable(java.lang.String id, java.lang.String description, java.util.Collection<Column<?>> columns)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableList<Column<?>>getColumns()Returns the list of columns.java.lang.StringgetDescription()Returns the description.java.lang.StringgetId()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.opentrafficsim.kpi.sampling.TablegetNumberOfColumns, isEmpty
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractTablepublic AbstractTable(java.lang.String id, java.lang.String description, java.util.Collection<Column<?>> columns)Constructor.- Parameters:
- id- String; id
- description- String; description
- columns- Collection<Column<?>>; columns
 
 
- 
 - 
Method Detail- 
getColumnspublic ImmutableList<Column<?>> getColumns() Returns the list of columns.- Specified by:
- getColumnsin interface- Table
- Returns:
- list of columns
 
 - 
getIdpublic java.lang.String getId() - Specified by:
- getIdin interface- Identifiable
 
 - 
getDescriptionpublic java.lang.String getDescription() Returns the description.- Specified by:
- getDescriptionin interface- Table
- Returns:
- description
 
 
- 
 
-