Interface InputParameters
public interface InputParameters
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
-
Method Summary
Modifier and TypeMethodDescriptionInputParameter<?,
?> getInputParameter
(Object object, String id) Returns a specific defined parameter for the given object.Map<String,
InputParameter<?, ?>> getInputParameters
(Object object) Returns all defined parameters for the given object.<T> Set<T>
getObjects
(Class<T> clazz) Return all object instances of the given class, for which parameters have been defined.
-
Method Details
-
getObjects
Return all object instances of the given class, for which parameters have been defined.- Type Parameters:
T
- type of object instances- Parameters:
clazz
- Class<T>; class- Returns:
- all object instances of the given class, for which parameters have been defined
-
getInputParameters
Returns all defined parameters for the given object. For example a specificGtuType
.- Parameters:
object
- Object; the object- Returns:
- all defined parameters for the given object
-
getInputParameter
Returns a specific defined parameter for the given object. For example parameter "a" for a specificGtuType
.- Parameters:
object
- Object; the objectid
- String; parameter id- Returns:
- specific defined parameter for the given object
-