org.opentrafficsim.kpi.sampling.data.ExtendedDataString Maven / Gradle / Ivy
package org.opentrafficsim.kpi.sampling.data;
import org.opentrafficsim.kpi.interfaces.GtuData;
/**
* Extended data type for string values.
*
* Copyright (c) 2013-2023 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
* @param gtu data type
*/
public abstract class ExtendedDataString extends ExtendedDataList
{
/**
* Constructor.
* @param id String; id
* @param description String; description
*/
public ExtendedDataString(final String id, final String description)
{
super(id, description, String.class);
}
/** {@inheritDoc} */
@Override
public String parseValue(final String string)
{
return string;
}
}