Class ODOptions.Option<K>
java.lang.Object
org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K>
- Type Parameters:
K- option value type
- Enclosing class:
- ODOptions
public static final class ODOptions.Option<K>
extends java.lang.Object
Utility class to store options.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 6 dec. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)KgetDefaultValue()Returns the default value.inthashCode()java.lang.StringtoString()
-
Method Details
-
getDefaultValue
Returns the default value.- Returns:
- default value
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-