U - Unit; the unit of this MutableDoubleScalarpublic abstract class MutableDoubleScalar<U extends Unit<U>> extends DoubleScalar<U> implements DoubleMathFunctions<DoubleScalar<U>>
This file was generated by the OpenTrafficSim value classes generator, 26 jun, 2015
Copyright (c) 2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version 26 jun, 2015
| Modifier and Type | Class and Description |
|---|---|
static class |
MutableDoubleScalar.Abs<U extends Unit<U>> |
static class |
MutableDoubleScalar.Rel<U extends Unit<U>> |
| Modifier | Constructor and Description |
|---|---|
protected |
MutableDoubleScalar(U unit)
Construct a new MutableDoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableDoubleScalar<U> |
decrementBy(DoubleScalar<U> decrement)
Decrement the value in this MutableDoubleScalar by the value in a DoubleScalar.
|
protected MutableDoubleScalar<U> |
decrementByImpl(DoubleScalar.Rel<U> rel)
Decrement the value of this Relative DoubleScalar from the value of this MutableDoubleScalar.
|
abstract DoubleScalar<U> |
immutable()
Make (immutable) DoubleScalar equivalent for any type of MutableDoubleScalar.
|
protected MutableDoubleScalar<U> |
incrementBy(DoubleScalar<U> increment)
Increment the value in this MutableDoubleScalar by the value in a DoubleScalar.
|
protected MutableDoubleScalar<U> |
incrementByImpl(DoubleScalar.Rel<U> rel)
Increment the value in this MutableDoubleScalar by the value in a Relative DoubleScalar.
|
divide, divide, doubleValue, equals, floatValue, getInUnit, getInUnit, getSI, hashCode, initialize, initialize, interpolate, interpolate, intValue, longValue, minus, minus, minus, multiply, multiply, mutable, plus, plus, setValueSI, toString, toString, toString, toStringexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativebyteValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitdivideBy, multiplyByprotected MutableDoubleScalar(U unit)
unit - U; the unit of the new MutableDoubleScalarpublic abstract DoubleScalar<U> immutable()
protected final MutableDoubleScalar<U> incrementBy(DoubleScalar<U> increment)
increment - DoubleScalar<U>; the amount by which to increment the value in this MutableDoubleScalarprotected final MutableDoubleScalar<U> decrementBy(DoubleScalar<U> decrement)
decrement - DoubleScalar<U>; the amount by which to decrement the value in this MutableDoubleScalarprotected final MutableDoubleScalar<U> incrementByImpl(DoubleScalar.Rel<U> rel)
rel - DoubleScalar.Rel<U>; the Relative DoubleScalarprotected final MutableDoubleScalar<U> decrementByImpl(DoubleScalar.Rel<U> rel)
rel - DoubleScalar.Rel<U>; the Relative DoubleScalarCopyright © 2014–2015 Delft University of Technology. All rights reserved.