|
|||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
this
Currency
to the supplied
Currency
.
Currency
to other supplied
Currency
.
this
Density
to the supplied
Density
.
Density
to other supplied
Density
.
this
Dimension
to the supplied
Dimension
.
Dimension
to other supplied
Dimension
.
this
Distance
to the supplied
Distance
.
Distance
to other supplied
Distance
.
this
ElapsedTime
to the supplied
ElapsedTime
.
ElapsedTime
to other supplied
ElapsedTime
.
this
Quantity
to the supplied
Quantity
.
Quantity
to other supplied
Quantity
.
this
Temperature
to the supplied
Temperature
.
Temperature
to other supplied
Temperature
.
this
Volume
to the supplied
Volume
.
Volume
to other supplied
Volume
.
this
Weight
to the supplied
Weight
.
Weight
to other supplied
Weight
.
ElapsedTimeFormat
.
Currency
objects passed
to the fuction are equal.
Density
objects passed
to the fuction are equal.
Dimension
objects passed
to the fuction are equal.
Distance
objects passed
to the fuction are equal.
ElapsedTime
objects are equal.
Quantity
objects passed
to the fuction are equal.
Temperature
objects passed
to the fuction are equal.
Volume
objects passed
to the fuction are equal.
Weight
objects passed
to the fuction are equal.
Currency
objects used to hold currency information.Currency
with an initial value
double
value and int
unit.
CurrencyFormat
provides several mechanisms to use
Currency
objects;
to display currency values in dynamically selected units and scale
to create and load values into Currency
objects
CurrencyFormat
instance based on default
Locale
CurrencyFormat
instance based on supplied
Locale
CurrencyFormat
instance with units set to
int
units and scale set to int
scale.
Currency
using an instance
of Currency
.
Density
identical to this
Density
DensityFormat
object based on this
DensityFormat
.
Dimension
identical to this
Dimension
DimensionFormat
object based on this
DimensionFormat
.
Distance
identical to this
Distance
.
DistanceFormat object based on this
DistanceFormat
.
clone() -
Method in class com.pcauto.util.ElapsedTime
Creates new ElapsedTime
identical to this
ElaspedTime
.
clone() -
Method in class com.pcauto.util.Quantity
Creates new Quantity
with an initial
value double
value and int
unit.
clone() -
Method in class com.pcauto.util.Temperature
Creates new Temperature
identical to this
Temperature
clone() -
Method in class com.pcauto.util.TemperatureFormat
Creates new TemperatureFormat
object based on this
TemperatureFormat
.
clone() -
Method in class com.pcauto.util.Volume
Creates new Volume
identical to this
Volume
.
clone() -
Method in class com.pcauto.util.Weight
Creates new Weight
using an instance of Weight
clone() -
Method in class com.pcauto.util.WeightFormat
Creates new WeightFormat
object based on this
WeightFormat
.
com.pcauto.util - package com.pcauto.util
compareTo(Currency) -
Method in class com.pcauto.util.Currency
Compares this
Currency
with the specified
Currency
.
compareTo(Density) -
Method in class com.pcauto.util.Density
Compares this
Density
with the specified
Density
.
compareTo(Dimension) -
Method in class com.pcauto.util.Dimension
Compares this
Dimension
with the specified
Dimension
.
compareTo(Distance) -
Method in class com.pcauto.util.Distance
Compares this
Distance
with the specified
Distance
.
compareTo(ElapsedTime) -
Method in class com.pcauto.util.ElapsedTime
Compares this
ElapsedTime
to the specified
ElapsedTime
.
compareTo(Object) -
Method in class com.pcauto.util.Quantity
Compares this
Quantity
with the specified
Quantity
.
compareTo(Quantity) -
Method in class com.pcauto.util.Quantity
Compares this
Quantity
with the specified
Quantity
.
compareTo(Temperature) -
Method in class com.pcauto.util.Temperature
Compares this
Temperature
with the specified
Temperature
.
compareTo(Volume) -
Method in class com.pcauto.util.Volume
Compares this
Volume
with the specified
Volume
.
compareTo(Weight) -
Method in class com.pcauto.util.Weight
Compares this
Weight
with the specified
Weight
.
convertArray -
Static variable in class com.pcauto.util.VolumeUnits
convertFrom(double, Units) -
Method in class com.pcauto.util.CurrencyUnits
convertFrom(double, Units) -
Method in class com.pcauto.util.DensityUnits
convertFrom(double, Units) -
Method in class com.pcauto.util.DimensionUnits
convertFrom(double, Units) -
Method in class com.pcauto.util.DistanceUnits
convertFrom(double, Units) -
Method in class com.pcauto.util.TemperatureUnits
convertFrom(double, Units) -
Method in class com.pcauto.util.Units
convertFrom(double, Units) -
Method in class com.pcauto.util.VolumeUnits
convertFrom(double, Units) -
Method in class com.pcauto.util.WeightUnits
convertUnits(double, int, int) -
Method in class com.pcauto.util.ElapsedTimeFormat
D
- Density - class com.pcauto.util.Density.
Density
objects used to hold density information.- Density() -
Constructor for class com.pcauto.util.Density
- Castor needs this, unfortunately
- Density(double, DensityUnits) -
Constructor for class com.pcauto.util.Density
- Creates new
Density
with an initial
double
value and int
unit.
- DensityFormat - class com.pcauto.util.DensityFormat.
DensityFormat
provides several mechanisms to use
Density
objects:
to display density values in dynamically selected units
to create and load values into Density
objects
- DensityFormat() -
Constructor for class com.pcauto.util.DensityFormat
- Creates new
DensityFormat
instance based on default
Locale
.
- DensityFormat(Locale) -
Constructor for class com.pcauto.util.DensityFormat
- Creates new
DensityFormat
instance based on supplied
Locale
- DensityFormat(DensityUnits, int) -
Constructor for class com.pcauto.util.DensityFormat
- Constructs new
DensityFormat
with units set to
int
units and scale set to int
scale.
- DensityUnits - class com.pcauto.util.DensityUnits.
- Used Java typesafe enum pattern to port C++ enum.
- Dimension - class com.pcauto.util.Dimension.
Dimension
objects used to hold dimension information.- Dimension() -
Constructor for class com.pcauto.util.Dimension
- Castor needs this, unfortunately
- Dimension(double, DimensionUnits) -
Constructor for class com.pcauto.util.Dimension
- Creates new
Dimension
with an initial
double
value and int
unit.
- DimensionFormat - class com.pcauto.util.DimensionFormat.
DimensionFormat
provides several mechanisms to use
Dimension
objects:
to display dimension values in dynamically selected units
to create and load values into Dimension
objects
- DimensionFormat() -
Constructor for class com.pcauto.util.DimensionFormat
- Creates new
DimensionFormat
instance based on default
Locale
.
- DimensionFormat(Locale) -
Constructor for class com.pcauto.util.DimensionFormat
- Creates new
DimensionFormat
instance based on supplied
Locale
- DimensionFormat(DimensionUnits, int) -
Constructor for class com.pcauto.util.DimensionFormat
- Constructs new
DimensionFormat
with units set to
int
units and scale set to int
scale.
- DimensionUnits - class com.pcauto.util.DimensionUnits.
- Used Java typesafe enum pattern to port C++ enum.
- Distance - class com.pcauto.util.Distance.
Distance
objects used to hold distance information.- Distance(double, DistanceUnits) -
Constructor for class com.pcauto.util.Distance
- Creates new
Distance
with initial value double
value and DistanceUnits
unit.
- DistanceFormat - class com.pcauto.util.DistanceFormat.
DistanceFormat
provides several mechanisms to use
Distance
objects: to display distance values in dynamically
selected units to create and load values into Distance
objects
- DistanceFormat() -
Constructor for class com.pcauto.util.DistanceFormat
- Constructs new
DistanceFormat
instance based on
default Locale
- DistanceFormat(Locale) -
Constructor for class com.pcauto.util.DistanceFormat
- Constructs new
DistanceFormat
instance based on locale.
- DistanceFormat(DistanceUnits, int) -
Constructor for class com.pcauto.util.DistanceFormat
- Constructs new
DistanceFormat
instance with units set to
DistanceUnits
units and scale set to int
scale.
- DistanceUnits - class com.pcauto.util.DistanceUnits.
- Used Java typesafe enum pattern to port C++ enum.
- desc -
Variable in class com.pcauto.util.Units
-
- divide(Currency) -
Method in class com.pcauto.util.Currency
- Divides
this
Currency
by supplied
Currency
.
- divide(BigDecimal) -
Method in class com.pcauto.util.Currency
- Divides
this
Currency
by supplied
BigDecimal
.
- divide(Density) -
Method in class com.pcauto.util.Density
- Divides
this
Density
by supplied
Density
.
- divide(BigDecimal) -
Method in class com.pcauto.util.Density
- Divides
this
Density
by supplied
BigDecimal
.
- divide(Dimension) -
Method in class com.pcauto.util.Dimension
- Divides
this
Dimension
by supplied
Dimension
.
- divide(BigDecimal) -
Method in class com.pcauto.util.Dimension
- Divides
this
Dimension
by supplied
BigDecimal
.
- divide(Distance) -
Method in class com.pcauto.util.Distance
- Divides
this
Distance
by supplied
Distance
.
- divide(BigDecimal) -
Method in class com.pcauto.util.Distance
- Divides
this
Distance
by supplied
BigDecimal
.
- divide(Quantity) -
Method in class com.pcauto.util.Quantity
- Divides
this
Quantity
by supplied
Quantity
.
- divide(Temperature) -
Method in class com.pcauto.util.Temperature
- Divides
this
Temperature
by supplied
Temperature
.
- divide(BigDecimal) -
Method in class com.pcauto.util.Temperature
- Divides
this
Temperature
by supplied
BigDecimal
.
- divide(Volume) -
Method in class com.pcauto.util.Volume
- Divides
this
Volume
by supplied
Volume
.
- divide(BigDecimal) -
Method in class com.pcauto.util.Volume
- Divides
this
Volume
by supplied
BigDecimal
.
- divide(Weight) -
Method in class com.pcauto.util.Weight
- Divides
this
Weight
by supplied
Weight
.
- divide(BigDecimal) -
Method in class com.pcauto.util.Weight
- Divides
this
Weight
by supplied
BigDecimal
.
E
- EURO -
Static variable in class com.pcauto.util.CurrencyUnits
-
- ElapsedTime - class com.pcauto.util.ElapsedTime.
ElapsedTime
is used to store ElapsedTime
quantities.- ElapsedTime(double) -
Constructor for class com.pcauto.util.ElapsedTime
- Creates new
ElapsedTime
with initial value of supplied
BigDecimal
.
- ElapsedTime(Date, Date) -
Constructor for class com.pcauto.util.ElapsedTime
- Creates new
ElapsedTime
as a difference between
start and end dates
- ElapsedTimeFormat - class com.pcauto.util.ElapsedTimeFormat.
ElapsedTimeFormat
is a concrete class for formatting and
parsing ElapsedTime
objects.- ElapsedTimeFormat() -
Constructor for class com.pcauto.util.ElapsedTimeFormat
- Constructs new
ElapsedTimeFormat
using global pattern.
- ElapsedTimeFormat(String) -
Constructor for class com.pcauto.util.ElapsedTimeFormat
- Constructs new
ElapsedTimeFormat
instance
based on pattern specified.
- equals(Currency) -
Method in class com.pcauto.util.Currency
- Compares
this
Currency
to the specified
Currency
.
- equals(Density) -
Method in class com.pcauto.util.Density
- Compares
this
Density
to the specified
Density
.
- equals(Dimension) -
Method in class com.pcauto.util.Dimension
- Compares
this
Dimension
to the specified
Dimension
.
- equals(Distance) -
Method in class com.pcauto.util.Distance
- Compares
this
Distance
to the specified
Distance
.
- equals(ElapsedTime) -
Method in class com.pcauto.util.ElapsedTime
- Compares
this
ElapsedTime
to the specified
ElapsedTime
.
- equals(Quantity) -
Method in class com.pcauto.util.Quantity
- Compares
this
Quantity
to the specified
Quantity
.
- equals(Object) -
Method in class com.pcauto.util.Quantity
-
- equals(Temperature) -
Method in class com.pcauto.util.Temperature
- Compares
this
Temperature
to the specified
Temperature
.
- equals(Volume) -
Method in class com.pcauto.util.Volume
- Compares
this
Volume
to the specified
Volume
.
- equals(Weight) -
Method in class com.pcauto.util.Weight
- Compares
this
Weight
to the specified
Weight
.
F
- FAHRENHEIT -
Static variable in class com.pcauto.util.TemperatureUnits
-
- FIXED_FONT -
Static variable in class com.pcauto.util.DimensionUnits
-
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.CurrencyFormat
- Returns
StringBuffer
with supplied Currency
quantity formatted in units
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.DensityFormat
- Returns
StringBuffer
with supplied Density
quantity formatted in units.
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.DimensionFormat
- Returns
StringBuffer
with supplied Dimension
quantity formatted in units.
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.DistanceFormat
- Returns
StringBuffer
with supplied Distance
quantity formatted in units
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.ElapsedTimeFormat
- Returns
StringBuffer
with ElapsedTime
formatted in
current format.
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.TemperatureFormat
- Returns
StringBuffer
with supplied Temperature
quantity formatted in units.
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.VolumeFormat
- Returns
StringBuffer
with supplied Volume
quantity formatted in units.
- format(Object, StringBuffer, FieldPosition) -
Method in class com.pcauto.util.WeightFormat
- Returns
StringBuffer
with supplied Weight
quantity formatted in units.
- formatCurrency(Currency) -
Method in class com.pcauto.util.CurrencyFormat
- Returns
String
with supplied Currency
quantity formatted in units
- formatDensity(Density) -
Method in class com.pcauto.util.DensityFormat
- Returns
String
with supplied Density
quantity formatted in units.
- formatDimension(Dimension) -
Method in class com.pcauto.util.DimensionFormat
- Returns
String
with supplied Dimension
quantity formatted in units.
- formatDistance(Distance) -
Method in class com.pcauto.util.DistanceFormat
- Returns
String
with supplied Distance
quantity formatted in units
- formatElapsedTime(ElapsedTime) -
Method in class com.pcauto.util.ElapsedTimeFormat
- Returns
String
with ElapsedTime
formatted in
current format.
- formatTemperature(Temperature) -
Method in class com.pcauto.util.TemperatureFormat
- Returns
String
with supplied Temperature
quantity formatted in units.
- formatVolume(Volume) -
Method in class com.pcauto.util.VolumeFormat
- Returns
String
with supplied Volume
quantity formatted in units.
- formatWeight(Weight) -
Method in class com.pcauto.util.WeightFormat
- Returns
String
with supplied Weight
quantity formatted in units.
G
- GRAM -
Static variable in class com.pcauto.util.WeightUnits
-
- getAll() -
Method in class com.pcauto.util.CurrencyUnits
-
- getAll() -
Method in class com.pcauto.util.DensityUnits
-
- getAll() -
Method in class com.pcauto.util.DimensionUnits
-
- getAll() -
Method in class com.pcauto.util.DistanceUnits
-
- getAll() -
Method in class com.pcauto.util.TemperatureUnits
-
- getAll() -
Method in class com.pcauto.util.Units
-
- getAll() -
Method in class com.pcauto.util.VolumeUnits
-
- getAll() -
Method in class com.pcauto.util.WeightUnits
-
- getBaseUnit() -
Static method in class com.pcauto.util.Currency
- Gets base unit with which
this
currency is printed.
- getBaseUnit() -
Static method in class com.pcauto.util.Density
- Gets base unit with which
this
density is printed.
- getBaseUnit() -
Static method in class com.pcauto.util.Dimension
- Gets base unit with which
this
dimension is printed.
- getBaseUnit() -
Static method in class com.pcauto.util.Distance
- Gets base unit with which
this
Distance
is printed.
- getBaseUnit() -
Static method in class com.pcauto.util.Temperature
- Gets base unit with
this
temperature is printed.
- getBaseUnit() -
Static method in class com.pcauto.util.Volume
- Gets base unit with which
this
volume is printed.
- getBaseUnit() -
Static method in class com.pcauto.util.Weight
- Gets base unit with which
this
weight is printed.
- getDesc() -
Method in class com.pcauto.util.Units
-
- getId() -
Method in class com.pcauto.util.Units
-
- getQuantity() -
Method in class com.pcauto.util.Quantity
- Gets raw numeric value of stored quantity.
- getRoundingMode() -
Method in class com.pcauto.util.ElapsedTimeFormat
- Get current rounding mode.
- getScale() -
Method in class com.pcauto.util.QuantityFormat
- Returns
int
value of scale.
- getString() -
Method in class com.pcauto.util.Units
-
- getUnit() -
Method in class com.pcauto.util.Quantity
- Gets unit of
this
Quantity
.
- getUnits() -
Method in class com.pcauto.util.CurrencyFormat
- Gets value for currency units.
- getUnits() -
Method in class com.pcauto.util.DensityFormat
- Gets value for measurement unit.
- getUnits() -
Method in class com.pcauto.util.DimensionFormat
- Gets value for measurement unit.
- getUnits() -
Method in class com.pcauto.util.DistanceFormat
- Gets value for measurement units.
- getUnits() -
Method in class com.pcauto.util.TemperatureFormat
- Gets value for measurement unit.
- getUnits() -
Method in class com.pcauto.util.VolumeFormat
- Gets value for measurement units.
- getUnits() -
Method in class com.pcauto.util.WeightFormat
- Gets value for measurement units.
- greaterThan(Currency) -
Method in class com.pcauto.util.Currency
- Compares
this
Currency
to the specified
Currency
.
- greaterThan(Density) -
Method in class com.pcauto.util.Density
- Compares
this
Density
to the specified
Density
.
- greaterThan(Dimension) -
Method in class com.pcauto.util.Dimension
- Compares
this
Dimension
to the specified
Dimension
.
- greaterThan(Distance) -
Method in class com.pcauto.util.Distance
- Compares
this
Distance
to the specified
Distance
.
- greaterThan(ElapsedTime) -
Method in class com.pcauto.util.ElapsedTime
- Compares
this
ElapsedTime
to the specified
ElapsedTime
.
- greaterThan(Quantity) -
Method in class com.pcauto.util.Quantity
- Compares
this
Quantity
to the specified
Quantity
.
- greaterThan(Temperature) -
Method in class com.pcauto.util.Temperature
- Compares
this
Temperature
to the specified
Temperature
.
- greaterThan(Volume) -
Method in class com.pcauto.util.Volume
- Compares
this
Volume
to the specified
Volume
.
- greaterThan(Weight) -
Method in class com.pcauto.util.Weight
- Compares
this
Weight
to the specified
Weight
.
- groupingUsed -
Variable in class com.pcauto.util.QuantityFormat
-
I
- INCH -
Static variable in class com.pcauto.util.DimensionUnits
-
- INCH -
Static variable in class com.pcauto.util.DistanceUnits
-
- id -
Variable in class com.pcauto.util.Units
-
- isGroupingUsed() -
Method in class com.pcauto.util.QuantityFormat
- Returns true if grouping is used in this format.
K
- KELVIN -
Static variable in class com.pcauto.util.TemperatureUnits
-
- KILOGRAM -
Static variable in class com.pcauto.util.WeightUnits
-
- KILOMETRE -
Static variable in class com.pcauto.util.DistanceUnits
-
L
- LINES_CENTIMETRE -
Static variable in class com.pcauto.util.DensityUnits
-
- LINES_INCH -
Static variable in class com.pcauto.util.DensityUnits
-
- lessThan(Currency) -
Method in class com.pcauto.util.Currency
- Compares
this
Currency
to the specified
Currency
.
- lessThan(Density) -
Method in class com.pcauto.util.Density
- Compares
this
Density
to the specified
Density
.
- lessThan(Dimension) -
Method in class com.pcauto.util.Dimension
- Compares
this
Dimension
to the specified
Dimension
.
- lessThan(Distance) -
Method in class com.pcauto.util.Distance
- Compares
this
Distance
to the specified
Distance
.
- lessThan(ElapsedTime) -
Method in class com.pcauto.util.ElapsedTime
- Compares
this
ElapsedTime
to the specified
ElapsedTime
.
- lessThan(Quantity) -
Method in class com.pcauto.util.Quantity
- Compares
this
Quantity
to the specified
Quantity
.
- lessThan(Temperature) -
Method in class com.pcauto.util.Temperature
- Compares
this
Temperature
to the specified
Temperature
.
- lessThan(Volume) -
Method in class com.pcauto.util.Volume
- Compares
this
Volume
to the specified
Volume
.
- lessThan(Weight) -
Method in class com.pcauto.util.Weight
- Compares
this
Weight
to the specified
Weight
.
M
- METRE -
Static variable in class com.pcauto.util.DistanceUnits
-
- MICROMETRE -
Static variable in class com.pcauto.util.DistanceUnits
-
- MILE -
Static variable in class com.pcauto.util.DistanceUnits
-
- multiply(BigDecimal) -
Method in class com.pcauto.util.Currency
- Multiplies
this
Currency
by supplied
BigDecimal
.
- multiply(BigDecimal) -
Method in class com.pcauto.util.Density
- Multiplies
this
Density
by supplied
BigDecimal
.
- multiply(BigDecimal) -
Method in class com.pcauto.util.Dimension
- Multiplies
this
Dimension
by supplied
BigDecimal
.
- multiply(BigDecimal) -
Method in class com.pcauto.util.Distance
- Multiplies
this
Distance
by supplied
BigDecimal
.
- multiply(BigDecimal) -
Method in class com.pcauto.util.Temperature
- Multiplies
this
Temperature
by supplied
BigDecimal
.
- multiply(BigDecimal) -
Method in class com.pcauto.util.Volume
- Multiplies
this
Volume
by supplied
BigDecimal
.
- multiply(BigDecimal) -
Method in class com.pcauto.util.Weight
- Multiplies
this
Weight
by supplied
BigDecimal
.
- myDivide(BigDecimal) -
Method in class com.pcauto.util.Quantity
- Divides
this
Quantity
by supplied
BigDecimal
.
- myMultiply(BigDecimal) -
Method in class com.pcauto.util.Quantity
- Multiplies
this
Quantity
by supplied
BigDecimal
.
N
- NONE -
Static variable in class com.pcauto.util.DensityUnits
-
O
- OUNCE -
Static variable in class com.pcauto.util.WeightUnits
-
P
- POINT -
Static variable in class com.pcauto.util.DimensionUnits
-
- POINTS_CHAR -
Static variable in class com.pcauto.util.DensityUnits
-
- POINTS_LINE -
Static variable in class com.pcauto.util.DensityUnits
-
- POUND -
Static variable in class com.pcauto.util.WeightUnits
-
- parseCurrency(String) -
Method in class com.pcauto.util.CurrencyFormat
- Parses
String
based on units to return a
Currency
object.
- parseDensity(String) -
Method in class com.pcauto.util.DensityFormat
- Parses
String
based on units to return a
Density
object.
- parseDimension(String) -
Method in class com.pcauto.util.DimensionFormat
- Parses
String
based on units to return a
Dimension
object.
- parseDistance(String) -
Method in class com.pcauto.util.DistanceFormat
- Parses
String
based on units to return a
Distance
object.
- parseElapsedTime(String) -
Method in class com.pcauto.util.ElapsedTimeFormat
- Parses
String
based on units to return an
ElapsedTime
object.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.CurrencyFormat
- Parses
String
based on units to return a
Currency
object.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.DensityFormat
- Parses
String
based on units to return a
Density
object.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.DimensionFormat
- Parses
String
based on units to return a
Dimension
object.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.DistanceFormat
- Parses
String
based on units to return a
Distance
object.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.ElapsedTimeFormat
- Parses
String
based on units to return an
ElapsedTime
object.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.TemperatureFormat
- Parses
String
based on units to return a
Temperature
object.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.VolumeFormat
- Parses
String
based on units to return
a Volume
object as an Object
.
- parseObject(String, ParsePosition) -
Method in class com.pcauto.util.WeightFormat
- Parses
String
based on units to return a
Weight
object.
- parseTemperature(String) -
Method in class com.pcauto.util.TemperatureFormat
- Parses
String
based on units to return a
Temperature
object.
- parseVolume(String) -
Method in class com.pcauto.util.VolumeFormat
- Parses
String
based on units to return
a Volume
object.
- parseWeight(String) -
Method in class com.pcauto.util.WeightFormat
- Parses
String
based on units to return a
Weight
object.
Q
- Quantity - class com.pcauto.util.Quantity.
Quantity
objects used to hold quantity information.- Quantity() -
Constructor for class com.pcauto.util.Quantity
- Creates new
Quantity
with an initial value
double
value and int
unit.
- Quantity(double, Units) -
Constructor for class com.pcauto.util.Quantity
- Creates new
Quantity
with an initial
value double
value and int
unit.
- QuantityFormat - class com.pcauto.util.QuantityFormat.
QuantityFormat
provides common function to be used by its subclasses- QuantityFormat() -
Constructor for class com.pcauto.util.QuantityFormat
-
- quantity -
Variable in class com.pcauto.util.Quantity
-
S
- scale -
Variable in class com.pcauto.util.QuantityFormat
-
- setBaseUnit(CurrencyUnits) -
Static method in class com.pcauto.util.Currency
- Sets the "toString" representation of any
Currency
objects
to be of type unit
.
- setBaseUnit(DensityUnits) -
Static method in class com.pcauto.util.Density
- Sets the "toString" representation of any
Density
objects
to be of type unit
.
- setBaseUnit(DimensionUnits) -
Static method in class com.pcauto.util.Dimension
- Sets the "toString" representation of any
Dimension
objects
to be of type unit
.
- setBaseUnit(DistanceUnits) -
Static method in class com.pcauto.util.Distance
- Sets the "toString" representation of any
Distance
objects
to be of type unit
.
- setBaseUnit(TemperatureUnits) -
Static method in class com.pcauto.util.Temperature
- Sets the "toString" representation of any
Temperature
objects
to be of type unit
.
- setBaseUnit(VolumeUnits) -
Static method in class com.pcauto.util.Volume
- Sets the "toString" representation of any
Volume
objects
to be of type unit
.
- setBaseUnit(WeightUnits) -
Static method in class com.pcauto.util.Weight
- Sets the "toString" representation of any
Weight
objects
to be of type unit
.
- setCurrencyExchange(CurrencyUnits, CurrencyUnits, double) -
Method in class com.pcauto.util.CurrencyFormat
- Sets exchange rate between diferent currency units.
- setGroupingUsed(boolean) -
Method in class com.pcauto.util.QuantityFormat
- Set whether or not grouping will be used in this format.
- setQuantity(double) -
Method in class com.pcauto.util.Quantity
- Sets quantity of
this
quantity to numeric value
contained by supplied double
.
- setRoundingMode(int) -
Method in class com.pcauto.util.ElapsedTimeFormat
- Sets rounding mode to be used by the smallest time unit in
the current pattern string.
- setScale(int) -
Method in class com.pcauto.util.QuantityFormat
- Sets scale for use in
format
method.
- setUnit(Units) -
Method in class com.pcauto.util.Quantity
- Sets unit of
this
Quantity
.
- setUnits(CurrencyUnits) -
Method in class com.pcauto.util.CurrencyFormat
- Sets value for currency units.
- setUnits(DensityUnits) -
Method in class com.pcauto.util.DensityFormat
- Sets value for measurement units.
- setUnits(DimensionUnits) -
Method in class com.pcauto.util.DimensionFormat
- Sets value for measurement units.
- setUnits(DistanceUnits) -
Method in class com.pcauto.util.DistanceFormat
- Sets value for measurement units.
- setUnits(TemperatureUnits) -
Method in class com.pcauto.util.TemperatureFormat
- Sets value for measurement units.
- setUnits(VolumeUnits) -
Method in class com.pcauto.util.VolumeFormat
- Sets value for measurement units.
- setUnits(WeightUnits) -
Method in class com.pcauto.util.WeightFormat
- Sets value for measurement units.
- setZERO(Quantity) -
Static method in class com.pcauto.util.Quantity
- Sets specific
Quantity
ZERO
implementation for internal use
- str -
Variable in class com.pcauto.util.Units
-
- subtract(Currency) -
Method in class com.pcauto.util.Currency
- Subtracts supplied
Currency
from
this
Currency
.
- subtract(Density) -
Method in class com.pcauto.util.Density
- Subtracts supplied
Density
from
this
Density
.
- subtract(Dimension) -
Method in class com.pcauto.util.Dimension
- Subtracts supplied
Dimension
from
this
Dimension
.
- subtract(Distance) -
Method in class com.pcauto.util.Distance
- Subtracts supplied
Distance
from
this
Distance
.
- subtract(ElapsedTime) -
Method in class com.pcauto.util.ElapsedTime
- Subtracts
this
ElapsedTime
from supplied
ElapsedTime
.
- subtract(Quantity) -
Method in class com.pcauto.util.Quantity
- Subtracts supplied
Quantity
from
this
Quantity
.
- subtract(Temperature) -
Method in class com.pcauto.util.Temperature
- Subtracts supplied
Temperature
from
this
Temperature
.
- subtract(Volume) -
Method in class com.pcauto.util.Volume
- Subtracts supplied
Volume
from
this
Volume
.
- subtract(Weight) -
Method in class com.pcauto.util.Weight
- Subtracts supplied
Weight
from
this
Weight
.
T
- TON -
Static variable in class com.pcauto.util.WeightUnits
-
- TONNE -
Static variable in class com.pcauto.util.WeightUnits
-
- Temperature - class com.pcauto.util.Temperature.
Temperature
objects used to hold temperature information.- Temperature(double, TemperatureUnits) -
Constructor for class com.pcauto.util.Temperature
- Creates new
Temperature
with an initial value
double
value and int
unit.
- TemperatureFormat - class com.pcauto.util.TemperatureFormat.
TemperatureFormat
provides several mechanisms to use
Temperature
objects:
to display temperature values in dynamically selected units
to create and load values into Temperature
objects
- TemperatureFormat() -
Constructor for class com.pcauto.util.TemperatureFormat
- Creates new
TemperatureFormat
instance based on default
Locale
.
- TemperatureFormat(Locale) -
Constructor for class com.pcauto.util.TemperatureFormat
- Creates new
TemperatureFormat
instance based on supplied
Locale
- TemperatureFormat(TemperatureUnits, int) -
Constructor for class com.pcauto.util.TemperatureFormat
- Constructs new
TemperatureFormat
with units set to
int
units and scale set to int
scale.
- TemperatureUnits - class com.pcauto.util.TemperatureUnits.
- Used Java typesafe enum pattern to port C++ enum.
- toGlobalPattern() -
Static method in class com.pcauto.util.ElapsedTimeFormat
- Returns current global pattern
String
.
- toPattern() -
Method in class com.pcauto.util.ElapsedTimeFormat
- Returns current pattern
string
- toString() -
Method in class com.pcauto.util.ElapsedTime
- Returns
String
representation of quantity of
ElapsedTime
object.
- toString() -
Method in class com.pcauto.util.Units
-
- toString() -
Method in class com.pcauto.util.Weight
- Returns
String
representation of quantity of
Quantity
object in baseUnit.
U
- US_DOLLARS -
Static variable in class com.pcauto.util.CurrencyUnits
-
- Units - class com.pcauto.util.Units.
-
- Units(String, String) -
Constructor for class com.pcauto.util.Units
- Creates a new instance of Units
- unit -
Variable in class com.pcauto.util.Quantity
-
- units -
Variable in class com.pcauto.util.QuantityFormat
-
V
- Volume - class com.pcauto.util.Volume.
Volume
objects used to hold volume information.- Volume(double, VolumeUnits) -
Constructor for class com.pcauto.util.Volume
- Creates new
Volume
with an initial value double
value and VolumeUnits
unit.
- VolumeFormat - class com.pcauto.util.VolumeFormat.
VolumeFormat
provides several mechanisms to use Volume
objects:
to display volume values in dynamically selected units
to create and load values into Volume
objects
- VolumeFormat() -
Constructor for class com.pcauto.util.VolumeFormat
- Constructs new
VolumeFormat
instance based on default
Locale
.
- VolumeFormat(Locale) -
Constructor for class com.pcauto.util.VolumeFormat
- Constructs new
VolumeFormat
instance based on supplied
Locale
.
- VolumeFormat(VolumeUnits, int) -
Constructor for class com.pcauto.util.VolumeFormat
- Constructs new
VolumeFormat
with units set to
VolumeUnits
units and scale set to int
scale.
- VolumeUnits - class com.pcauto.util.VolumeUnits.
- Used Java typesafe enum pattern to port C++ enum.
W
- Weight - class com.pcauto.util.Weight.
Weight
objects used to hold weight information.- Weight(double, WeightUnits) -
Constructor for class com.pcauto.util.Weight
- Creates new
Weight
with an initial value
double
value and WeightUnits
unit.
- WeightFormat - class com.pcauto.util.WeightFormat.
WeightFormat
provides several mechanisms to use Weight
objects:
to display weight values in dynamically selected units
to create and load values into Weight
objects
- WeightFormat() -
Constructor for class com.pcauto.util.WeightFormat
- Constructs new
WeightFormat
instance based on default
Locale
.
- WeightFormat(Locale) -
Constructor for class com.pcauto.util.WeightFormat
- Constructs new
WeightFormat
instance based on supplied
Locale
.
- WeightFormat(WeightUnits, int) -
Constructor for class com.pcauto.util.WeightFormat
- Constructs new
WeightFormat
with units set to
WeightUnits
units and scale set to int
scale.
- WeightUnits - class com.pcauto.util.WeightUnits.
- Used Java typesafe enum pattern to port C++ enum.
Y
- YARD -
Static variable in class com.pcauto.util.DistanceUnits
-
Z
- ZERO -
Static variable in class com.pcauto.util.Currency
- Instance of
Currency
with zero value.
- ZERO -
Static variable in class com.pcauto.util.Density
- Instance of
Currency
with zero value.
- ZERO -
Static variable in class com.pcauto.util.Dimension
- Instance of
Currency
with zero value.
- ZERO -
Static variable in class com.pcauto.util.Distance
- Instance of
Distance
with zero value.
- ZERO -
Static variable in class com.pcauto.util.ElapsedTime
- Instance of
ElapsedTime
with zero value.
- ZERO -
Static variable in class com.pcauto.util.Temperature
- Instance of
Temperature
with zero value.
- ZERO -
Static variable in class com.pcauto.util.Volume
- Instance of
Volume
with zero value.
- ZERO -
Static variable in class com.pcauto.util.Weight
- Instance of
Weight
with zero value.
A B C D E F G I K L M N O P Q S T U V W Y Z
Package
Class
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
All Classes