Package org.opentrafficsim.kpi.sampling
Class SimpleColumn<T>
- java.lang.Object
-
- org.opentrafficsim.kpi.sampling.SimpleColumn<T>
-
- Type Parameters:
T
- value type
- All Implemented Interfaces:
Identifiable
,Column<T>
public class SimpleColumn<T> extends Object implements Column<T>
Simple column implementation.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 Summary
Constructors Constructor Description SimpleColumn(String id, String description, Class<T> valueType)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Returns the column description.String
getId()
Class<T>
getValueType()
Returns the type of the values in the column.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceIdentifiable
-
getDescription
public String getDescription()
Returns the column description.- Specified by:
getDescription
in interfaceColumn<T>
- Returns:
- String; column description
-
getValueType
public Class<T> getValueType()
Returns the type of the values in the column.- Specified by:
getValueType
in interfaceColumn<T>
- Returns:
- Class<?>; type of the values in the column
-
-