Package org.djutils.data
Interface DataRecord
- All Known Implementing Classes:
ListDataTable.ListRecord
public interface DataRecord
Consistent set of values corresponding to 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
-
Method Details
-
getValue
Returns the column value of this record.- Type Parameters:
T
- value type- Parameters:
column
- Column<T>; column- Returns:
- T; the column value in this record
-
getValue
Returns the column value of this record.- Parameters:
id
- String; column id- Returns:
- Object; the column value in this record
-
getValues
Object[] getValues()Returns the column values of this record in the natural order of the columns.- Returns:
- the column value in this record
-