package org.opentrafficsim.kpi.sampling;
/**
* Consistent set of values corresponding to columns.
*
* Copyright (c) 2020-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License.
*
* @author Alexander Verbraeck
* @author Peter Knoppers
* @author Wouter Schakel
*/
public interface Record
{
/**
* Returns the column value of this record.
* @param column Column<T>; column
* @param value type
* @return the column value in this record
*/
T getValue(Column column);
/**
* Returns the column value of this record.
* @param id String; column id
* @return the column value in this record
*/
Object getValue(String id);
}