| 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 MoneyUnit |
MoneyUnit.AUD
The currency 'AUD' - Australian Dollar.
|
static MoneyUnit |
MoneyUnit.CAD
The currency 'CAD' - Canadian Dollar.
|
static MoneyUnit |
MoneyUnit.CHF
The currency 'CHF' - Swiss Franc.
|
static MoneyUnit |
MoneyUnit.EUR
The currency 'EUR' - Euro.
|
static MoneyUnit |
MoneyUnit.GBP
The currency 'GBP' - British pound.
|
static MoneyUnit |
MoneyUnit.JPY
The currency 'JPY' - Japanese Yen.
|
static MoneyUnit |
MoneyUnit.USD
The currency 'USD' - United States Dollar.
|
| Modifier and Type | Method and Description |
|---|---|
MoneyUnit |
MoneyPerVolumeUnit.getMoneyUnit() |
MoneyUnit |
MoneyPerTimeUnit.getMoneyUnit() |
MoneyUnit |
MoneyPerMassUnit.getMoneyUnit() |
MoneyUnit |
MoneyPerLengthUnit.getMoneyUnit() |
MoneyUnit |
MoneyPerEnergyUnit.getMoneyUnit() |
MoneyUnit |
MoneyPerAreaUnit.getMoneyUnit() |
static MoneyUnit |
MoneyUnit.getStandardMoneyUnit() |
MoneyUnit |
MoneyUnit.getStandardUnit() |
| Modifier and Type | Method and Description |
|---|---|
static void |
MoneyUnit.setStandardUnit(MoneyUnit moneyUnit)
Set the standard money unit to be used.
|
protected static void |
MoneyPerVolumeUnit.setStandardUnit(MoneyUnit standardMoneyUnit)
Set the standard MoneyPerVolumeUnit in case the standard MoneyUnit changes, as the standard money unit is flexible.
|
protected static void |
MoneyPerTimeUnit.setStandardUnit(MoneyUnit standardMoneyUnit)
Set the standard MoneyPerTimeUnit in case the standard MoneyUnit changes, as the standard money unit is flexible.
|
protected static void |
MoneyPerMassUnit.setStandardUnit(MoneyUnit standardMoneyUnit)
Set the standard MoneyPerMassUnit in case the standard MoneyUnit changes, as the standard money unit is flexible.
|
protected static void |
MoneyPerLengthUnit.setStandardUnit(MoneyUnit standardMoneyUnit)
Set the standard MoneyPerLengthUnit in case the standard MoneyUnit changes, as the standard money unit is flexible.
|
protected static void |
MoneyPerEnergyUnit.setStandardUnit(MoneyUnit standardMoneyUnit)
Set the standard MoneyPerEnergyUnit in case the standard MoneyUnit changes, as the standard money unit is flexible.
|
protected static void |
MoneyPerAreaUnit.setStandardUnit(MoneyUnit standardMoneyUnit)
Set the standard MoneyPerAreaUnit in case the standard MoneyUnit changes, as the standard money unit is flexible.
|
| Constructor and Description |
|---|
MoneyPerAreaUnit(MoneyUnit moneyUnit,
AreaUnit areaUnit,
String name,
String abbreviation)
Build a user-defined money per area unit from a money unit and an area unit.
|
MoneyPerEnergyUnit(MoneyUnit moneyUnit,
EnergyUnit energyUnit,
String name,
String abbreviation)
Build a user-defined money per energy unit from a money unit and an energy unit.
|
MoneyPerLengthUnit(MoneyUnit moneyUnit,
LengthUnit lengthUnit,
String name,
String abbreviation)
Build a user-defined money per length unit from a money unit and an length unit.
|
MoneyPerMassUnit(MoneyUnit moneyUnit,
MassUnit massUnit,
String name,
String abbreviation)
Build a user-defined money per mass unit from a money unit and an mass unit.
|
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.
|
MoneyPerVolumeUnit(MoneyUnit moneyUnit,
VolumeUnit volumeUnit,
String name,
String abbreviation)
Build a user-defined money per volume unit from a money unit and an volume unit.
|
MoneyUnit(org.joda.money.CurrencyUnit currencyUnit,
String name,
String abbreviation,
MoneyUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined money unit based on another money unit with a conversion factor.
|
| Constructor and Description |
|---|
Money(double value,
MoneyUnit unit)
Construct Money scalar.
|
| Constructor and Description |
|---|
Money(DoubleScalar.Rel<MoneyUnit> value)
Construct Money scalar.
|
| Constructor and Description |
|---|
Dense(double[] values,
MoneyUnit unit)
Construct a new Dense Immutable Double Money Vector.
|
Dense(double[] values,
MoneyUnit unit)
Construct a new Dense Immutable Double Money Vector.
|
Dense(List<Double> values,
MoneyUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<Double> values,
MoneyUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
MoneyVector(MoneyUnit unit) |
MutableMoneyVector(MoneyUnit unit) |
Sparse(double[] values,
MoneyUnit unit)
Construct a new Sparse Immutable Double Money Vector.
|
Sparse(double[] values,
MoneyUnit unit)
Construct a new Sparse Immutable Double Money Vector.
|
Sparse(SortedMap<Integer,Double> values,
MoneyUnit unit,
int length)
Construct a new Sparse Immutable Money Vector.
|
Sparse(SortedMap<Integer,Double> values,
MoneyUnit unit,
int length)
Construct a new Sparse Immutable Money Vector.
|
| Constructor and Description |
|---|
Dense(List<DoubleScalar.Rel<MoneyUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Rel<MoneyUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<MoneyUnit>> values,
int length)
Construct a new Sparse Immutable Money Vector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<MoneyUnit>> values,
int length)
Construct a new Sparse Immutable Money Vector.
|
| Constructor and Description |
|---|
FloatMoney(double value,
MoneyUnit unit)
Construct FloatMoney scalar using a double value.
|
FloatMoney(float value,
MoneyUnit unit)
Construct FloatMoney scalar.
|
| Constructor and Description |
|---|
FloatMoney(FloatScalar.Rel<MoneyUnit> value)
Construct FloatMoney scalar.
|
Copyright © 2015 Delft University of Technology. All rights reserved.