public abstract class ExtendedDataTypeDuration extends ExtendedDataTypeFloat<org.djunits.unit.DurationUnit,org.djunits.value.vfloat.scalar.FloatDuration,org.djunits.value.vfloat.vector.FloatDurationVector>
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
ExtendedDataTypeDuration(String id)
Constructor setting the id.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.djunits.value.vfloat.vector.FloatDurationVector |
convert(float[] storage)
Convert float array to typed array.
|
protected org.djunits.value.vfloat.scalar.FloatDuration |
convertValue(float value)
Convert float to typed value.
|
convert, formatValue, getOutputValue, getStorageValue, initializeStorage, setValueequals, getId, getValue, hashCode, interpolatepublic ExtendedDataTypeDuration(String id)
id - idprotected final org.djunits.value.vfloat.scalar.FloatDuration convertValue(float value)
convertValue in class ExtendedDataTypeFloat<org.djunits.unit.DurationUnit,org.djunits.value.vfloat.scalar.FloatDuration,org.djunits.value.vfloat.vector.FloatDurationVector>value - float valueprotected final org.djunits.value.vfloat.vector.FloatDurationVector convert(float[] storage)
throws org.djunits.value.ValueException
convert in class ExtendedDataTypeFloat<org.djunits.unit.DurationUnit,org.djunits.value.vfloat.scalar.FloatDuration,org.djunits.value.vfloat.vector.FloatDurationVector>storage - float array storageorg.djunits.value.ValueException - when float array cannot be convertedCopyright © 2014–2017 Delft University of Technology. All rights reserved.