Class FilterDataDestination
- java.lang.Object
-
- org.opentrafficsim.kpi.sampling.meta.FilterDataType<String>
-
- org.opentrafficsim.kpi.sampling.meta.FilterDataDestination
-
- All Implemented Interfaces:
Identifiable
public class FilterDataDestination extends FilterDataType<String>
Accepts trajectories with a destination node included in a set in a query.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, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description FilterDataDestination()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue(GtuData gtu)Retrieves the value of the meta data of this type from a GTU.StringtoString()-
Methods inherited from class org.opentrafficsim.kpi.sampling.meta.FilterDataType
accept, getDescription, getId
-
-
-
-
Method Detail
-
getValue
public final String getValue(GtuData gtu)
Retrieves the value of the meta data of this type from a GTU.- Specified by:
getValuein classFilterDataType<String>- Parameters:
gtu- GtuData; gtu to retrieve the value from- Returns:
- value of the meta data of this type from a GTU, may be
nullif not applicable.
-
toString
public String toString()
- Overrides:
toStringin classFilterDataType<String>
-
-