U - the unit type.public abstract class DistDiscreteDoubleScalar<U extends Unit<U>> extends Object
Copyright (c) 2013-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 Feb 2, 2015
| Modifier and Type | Class and Description |
|---|---|
static class |
DistDiscreteDoubleScalar.Abs<U extends Unit<U>>
Absolute value.
|
static class |
DistDiscreteDoubleScalar.Rel<U extends Unit<U>>
Relative value.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DistDiscreteDoubleScalar(DistDiscrete distribution,
U unit) |
protected |
DistDiscreteDoubleScalar(long value,
U unit) |
| Modifier and Type | Method and Description |
|---|---|
DistDiscrete |
getDistribution() |
U |
getUnit() |
String |
toString() |
protected DistDiscreteDoubleScalar(DistDiscrete distribution, U unit)
distribution - the wrapped distribution function.unit - the unit.protected DistDiscreteDoubleScalar(long value,
U unit)
value - the constant value.unit - the unit.public final DistDiscrete getDistribution()
public final U getUnit()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.