Index
All Classes and Interfaces|All Packages
C
- CENTIMETRE - Static variable in class de.turnertech.measures.Unit
-
cm
- convert(double, Unit, Unit) - Static method in class de.turnertech.measures.UnitConverter
-
Converts between Units using one of a number of conversion options.
- convert(Measure, Unit) - Static method in class de.turnertech.measures.UnitConverter
-
Converts between Units using one of a number of conversion options.
- convertFromBaseUnit(double) - Method in class de.turnertech.measures.Unit
-
Converts a supplied quantity of this Units base unit to a quantity of itself.
- convertTo(Unit) - Method in class de.turnertech.measures.Measure
-
Helper function to convert this Measure to a new Measure with the supplied newUnit parameter.
- convertToBaseUnit(double) - Method in class de.turnertech.measures.Unit
-
Converts a supplied quantity of this Unit to a quantity of its base unit.
- createMeasure(double) - Method in class de.turnertech.measures.Unit
-
Helper function for creating measures with a Unit.
D
- de.turnertech.measures - module de.turnertech.measures
-
Classes for representing and working with Units and Measures.
- de.turnertech.measures - package de.turnertech.measures
-
Package containing tools for Units, Measures and Conversions.
- DEGREE - Static variable in class de.turnertech.measures.Unit
-
deg
- DEGREES_CELSIUS - Static variable in class de.turnertech.measures.Unit
-
Cel
- DEGREES_FAHRENHEIT - Static variable in class de.turnertech.measures.Unit
-
degF
E
- equals(Object) - Method in class de.turnertech.measures.Measure
- equalsWithTolerance(Measure, double) - Method in class de.turnertech.measures.Measure
-
Helper function for checking if the Measure is equal to within a supplied tolerance.
F
G
- getBaseUnit() - Method in class de.turnertech.measures.Unit
-
Gets the common base unit for the family of units to which this Unit belongs.
- getQuantity() - Method in class de.turnertech.measures.Measure
-
Gets the quantity of Units stored in this Measure.
- getUnit() - Method in class de.turnertech.measures.Measure
-
Sets the Unit of this Measure.
- GRAM - Static variable in class de.turnertech.measures.Unit
-
g
H
- hashCode() - Method in class de.turnertech.measures.Measure
I
K
- KELVIN - Static variable in class de.turnertech.measures.Unit
-
K
- KILOMETRE - Static variable in class de.turnertech.measures.Unit
-
km
M
- Measure - Class in de.turnertech.measures
- Measure(double, Unit) - Constructor for class de.turnertech.measures.Measure
-
Constructs an instance with the provided parameters.
- METRE - Static variable in class de.turnertech.measures.Unit
-
m
- MILE - Static variable in class de.turnertech.measures.Unit
-
mi_i
- MINUTE_ANGLE - Static variable in class de.turnertech.measures.Unit
-
'
N
- NAUTICAL_MILE - Static variable in class de.turnertech.measures.Unit
-
nmi_i
P
- POUND - Static variable in class de.turnertech.measures.Unit
-
lb_av
- putFunction(Unit, Unit, DoubleUnaryOperator) - Static method in class de.turnertech.measures.UnitConverter
-
Adds a conversion function for transitioning from the unitIn, to the unitOut.
- putScalar(Unit, Unit, double) - Static method in class de.turnertech.measures.UnitConverter
-
Adds a scalar function for transitioning from the unitIn, to the unitOut.
R
S
- SECOND - Static variable in class de.turnertech.measures.Unit
-
s
- SECOND_ANGLE - Static variable in class de.turnertech.measures.Unit
-
"
- setQuantity(double) - Method in class de.turnertech.measures.Measure
-
Sets the quantity of Units stored in this Measure.
T
- toString() - Method in class de.turnertech.measures.Measure
-
We use the SI standard for the String representation.
- toString() - Method in class de.turnertech.measures.Unit
U
- Unit - Class in de.turnertech.measures
-
A Unit is a single instance of a Measurement, such as a Metre or a Degree Celsius.
- Unit() - Constructor for class de.turnertech.measures.Unit
-
Constructs a "Base Unit", where its own base unit is iteself, and conversions to and from its base unit will alway return the same value as input (
DoubleUnaryOperator.identity()
). - Unit(String) - Constructor for class de.turnertech.measures.Unit
-
Constructs a "Base Unit", where its own base unit is iteself, and conversions to and from its base unit will alway return the same value as input (
DoubleUnaryOperator.identity()
). - Unit(String, Unit, DoubleUnaryOperator, DoubleUnaryOperator) - Constructor for class de.turnertech.measures.Unit
-
Constructs a Unit with the supplied base unit and conversion functions too and from said Unit.
- UnitConverter - Class in de.turnertech.measures
-
The UnitConverter handles specialist conversions with more accuracy than would be possible via conversions to base units.
- UnitConverter() - Constructor for class de.turnertech.measures.UnitConverter
Y
C D E F G H I K M N P R S T U YAll Classes and Interfaces|All Packages