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.ObjectUtility 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)KgetDefaultValue()Returns the default value.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getDefaultValue
public K 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
-
-