| Package | Description |
|---|---|
| org.djunits.unit |
Classes for the unit system.
|
| org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
| Modifier and Type | Field and Description |
|---|---|
static TimeUnit |
UNITS.DAY |
static TimeUnit |
TimeUnit.DAY
day.
|
static TimeUnit |
UNITS.HOUR |
static TimeUnit |
TimeUnit.HOUR
hour.
|
static TimeUnit |
UNITS.MILLISECOND |
static TimeUnit |
TimeUnit.MILLISECOND
millisecond.
|
static TimeUnit |
UNITS.MINUTE |
static TimeUnit |
TimeUnit.MINUTE
minute.
|
static TimeUnit |
UNITS.SECOND |
static TimeUnit |
TimeUnit.SECOND
second.
|
static TimeUnit |
TimeUnit.SI
The SI unit for time is second.
|
static TimeUnit |
UNITS.WEEK |
static TimeUnit |
TimeUnit.WEEK
week.
|
| Modifier and Type | Method and Description |
|---|---|
TimeUnit |
TimeUnit.getStandardUnit() |
TimeUnit |
TorqueUnit.getTimeUnit() |
TimeUnit |
SpeedUnit.getTimeUnit() |
TimeUnit |
PressureUnit.getTimeUnit() |
TimeUnit |
PowerUnit.getTimeUnit() |
TimeUnit |
MoneyPerTimeUnit.getTimeUnit() |
TimeUnit |
FrequencyUnit.getTimeUnit() |
TimeUnit |
ForceUnit.getTimeUnit() |
TimeUnit |
FlowVolumeUnit.getTimeUnit() |
TimeUnit |
FlowMassUnit.getTimeUnit() |
TimeUnit |
EnergyUnit.getTimeUnit() |
TimeUnit |
ElectricalResistanceUnit.getTimeUnit() |
TimeUnit |
ElectricalPotentialUnit.getTimeUnit() |
TimeUnit |
ElectricalChargeUnit.getTimeUnit() |
TimeUnit |
AccelerationUnit.getTimeUnit() |
| Constructor and Description |
|---|
AccelerationUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined acceleration unit based on length and time.
|
AccelerationUnit(SpeedUnit speedUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user-defined acceleration unit based on speed and time.
|
ElectricalChargeUnit(ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ElectricalChargeUnit as an electrical current unit times a time unit.
|
ElectricalPotentialUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalPotentialUnit based on its constituent base units, e.g.
|
ElectricalResistanceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on its constituent base units, e.g.
|
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on its constituent base units, e.g.
|
FlowMassUnit(MassUnit massUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-massunit based on mass and time.
|
FlowVolumeUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based on length (cubed) per time unit.
|
FlowVolumeUnit(VolumeUnit volumeUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based as a volume unit per time unit.
|
ForceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ForceUnit based on its constituent base units, e.g.
|
FrequencyUnit(TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined FrequencyUnit based on time.
|
MoneyPerTimeUnit(MoneyUnit moneyUnit,
TimeUnit timeUnit,
String name,
String abbreviation)
Build a user-defined money per time unit from a money unit and an time unit.
|
PowerUnit(LengthUnit lengthUnit,
ForceUnit forceUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on a LengthUnit, a ForceUnit, and a TimeUnit, e.g.
|
PowerUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on its constituent base units, e.g.
|
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Construct a user-defined pressure unit from mass, length and time units, e.g., a Pascal = kg/m.s^2.
|
SpeedUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined speed unit from a length unit and a time unit.
|
TimeUnit(String name,
String abbreviation,
UnitSystem unitSystem,
TimeUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined TimeUnit with a conversion factor to another TimeUnit.
|
TorqueUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined torque unit from mass, length and time units.
|
| Constructor and Description |
|---|
Abs(double value,
TimeUnit unit)
Construct Time.Abs scalar.
|
Rel(double value,
TimeUnit unit)
Construct Time.Rel scalar.
|
| Constructor and Description |
|---|
Abs(DoubleScalar.Abs<TimeUnit> value)
Construct Time.Abs scalar.
|
Rel(DoubleScalar.Rel<TimeUnit> value)
Construct Time.Rel scalar.
|
| Constructor and Description |
|---|
Abs(TimeUnit unit)
Construct a new Absolute Immutable DoubleVector.
|
Abs(TimeUnit unit)
Construct a new Absolute MutableTimeVector.
|
Dense(double[] values,
TimeUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(double[] values,
TimeUnit unit)
Construct a new Dense Immutable Double Time Vector.
|
Dense(double[] values,
TimeUnit unit)
Construct a new Absolute Dense Mutable TimeVector.
|
Dense(double[] values,
TimeUnit unit)
Construct a new Dense Immutable Double Time Vector.
|
Dense(List<Double> values,
TimeUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<Double> values,
TimeUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<Double> values,
TimeUnit unit)
Construct a new Absolute Dense Mutable TimeVector.
|
Dense(List<Double> values,
TimeUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Rel(TimeUnit unit) |
Rel(TimeUnit unit)
Construct a new Absolute MutableTimeVector.
|
Sparse(double[] values,
TimeUnit unit)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(double[] values,
TimeUnit unit)
Construct a new Sparse Immutable Double Time Vector.
|
Sparse(double[] values,
TimeUnit unit)
Construct a new Absolute Sparse Mutable TimeVector.
|
Sparse(double[] values,
TimeUnit unit)
Construct a new Sparse Immutable Double Time Vector.
|
Sparse(SortedMap<Integer,Double> values,
TimeUnit unit,
int time)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,Double> values,
TimeUnit unit,
int time)
Construct a new Sparse Immutable Time Vector.
|
Sparse(SortedMap<Integer,Double> values,
TimeUnit unit,
int time)
Construct a new Absolute Sparse Mutable TimeVector.
|
Sparse(SortedMap<Integer,Double> values,
TimeUnit unit,
int time)
Construct a new Sparse Immutable Time Vector.
|
| Constructor and Description |
|---|
Dense(List<DoubleScalar.Abs<TimeUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<TimeUnit>> values)
Construct a new Absolute Dense Mutable TimeVector.
|
Dense(List<DoubleScalar.Rel<TimeUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Rel<TimeUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<TimeUnit>> values,
int time)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<TimeUnit>> values,
int time)
Construct a new Absolute Sparse Mutable TimeVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<TimeUnit>> values,
int time)
Construct a new Sparse Immutable Time Vector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<TimeUnit>> values,
int time)
Construct a new Sparse Immutable Time Vector.
|
| Constructor and Description |
|---|
Abs(double value,
TimeUnit unit)
Construct FloatTime.Abs scalar using a double value.
|
Abs(float value,
TimeUnit unit)
Construct FloatTime.Abs scalar.
|
Rel(double value,
TimeUnit unit)
Construct FloatTime.Rel scalar using a double value.
|
Rel(float value,
TimeUnit unit)
Construct FloatTime.Rel scalar.
|
| Constructor and Description |
|---|
Abs(FloatScalar.Abs<TimeUnit> value)
Construct FloatTime.Abs scalar.
|
Rel(FloatScalar.Rel<TimeUnit> value)
Construct FloatTime.Rel scalar.
|
Copyright © 2015 Delft University of Technology. All rights reserved.