Index
All Classes and Interfaces|All Packages
A
- AbstractDimensionAssert<S,
A> - Class in tech.uom.lib.assertj.assertions -
Abstract base class for
Dimension
specific assertions - Generated by CustomAssertionGenerator. - AbstractDimensionAssert(A, Class<S>) - Constructor for class tech.uom.lib.assertj.assertions.AbstractDimensionAssert
-
Creates a new
to make assertions on actual Dimension.AbstractDimensionAssert
- AbstractQuantityAssert<S,
A> - Class in tech.uom.lib.assertj.assertions -
Abstract base class for
Quantity
specific assertions - Generated by CustomAssertionGenerator. - AbstractQuantityAssert(A, Class<S>) - Constructor for class tech.uom.lib.assertj.assertions.AbstractQuantityAssert
-
Creates a new
to make assertions on actual Quantity.AbstractQuantityAssert
- AbstractUnitAssert<S,
A> - Class in tech.uom.lib.assertj.assertions -
Abstract base class for
Unit
specific assertions - Generated by CustomAssertionGenerator. - AbstractUnitAssert(A, Class<S>) - Constructor for class tech.uom.lib.assertj.assertions.AbstractUnitAssert
-
Creates a new
to make assertions on actual Unit.AbstractUnitAssert
- Assertions - Class in tech.uom.lib.assertj
-
Entry point for assertions of different data types.
- Assertions() - Constructor for class tech.uom.lib.assertj.Assertions
-
Creates a new
.Assertions
- assertThat(Dimension) - Static method in class tech.uom.lib.assertj.Assertions
-
Creates a new instance of
invalid reference
javax.measure.DimensionAssert
- assertThat(Dimension) - Static method in class tech.uom.lib.assertj.assertions.DimensionAssert
-
An entry point for DimensionAssert to follow AssertJ standard
assertThat()
statements.
With a static import, one can write directly:assertThat(myDimension)
and get specific assertion with code completion. - assertThat(Dimension) - Method in class tech.uom.lib.assertj.JUnitSoftAssertions
-
Creates a new "soft" instance of
.DimensionAssert
- assertThat(Dimension) - Method in class tech.uom.lib.assertj.SoftAssertions
-
Creates a new "soft" instance of
.DimensionAssert
- assertThat(Quantity) - Static method in class tech.uom.lib.assertj.Assertions
-
Creates a new instance of
.QuantityAssert
- assertThat(Quantity) - Static method in class tech.uom.lib.assertj.assertions.QuantityAssert
-
An entry point for QuantityAssert to follow AssertJ standard
assertThat()
statements.
With a static import, one can write directly:assertThat(myQuantity)
and get specific assertion with code completion. - assertThat(Quantity) - Method in class tech.uom.lib.assertj.JUnitSoftAssertions
-
Creates a new "soft" instance of
.QuantityAssert
- assertThat(Quantity) - Method in class tech.uom.lib.assertj.SoftAssertions
-
Creates a new "soft" instance of
.QuantityAssert
- assertThat(Unit) - Static method in class tech.uom.lib.assertj.Assertions
-
Creates a new instance of
.UnitAssert
- assertThat(Unit) - Static method in class tech.uom.lib.assertj.assertions.UnitAssert
-
An entry point for UnitAssert to follow AssertJ standard
assertThat()
statements.
With a static import, one can write directly:assertThat(myUnit)
and get specific assertion with code completion. - assertThat(Unit) - Method in class tech.uom.lib.assertj.JUnitSoftAssertions
-
Creates a new "soft" instance of
.UnitAssert
- assertThat(Unit) - Method in class tech.uom.lib.assertj.SoftAssertions
-
Creates a new "soft" instance of
.UnitAssert
B
- BddAssertions - Class in tech.uom.lib.assertj
-
Entry point for BDD assertions of different data types.
- BddAssertions() - Constructor for class tech.uom.lib.assertj.BddAssertions
-
Creates a new
.BddAssertions
C
- charAt(String, int) - Static method in class tech.uom.lib.common.util.NumberComparator
- Coded<T> - Interface in tech.uom.lib.common.function
-
Interface for objects with a
code
. - compare(Number, Number) - Method in class tech.uom.lib.common.util.NumberComparator
- compare(Quantity<T>, Quantity<T>) - Method in class tech.uom.lib.common.util.NaturalQuantityComparator
- compare(U, U) - Method in class tech.uom.lib.common.util.UnitComparator
- compareRight(String, String) - Method in class tech.uom.lib.common.util.NumberComparator
- convert(F) - Method in interface tech.uom.lib.common.function.Converter
-
Returns a F converted into a T.
- Converter<F,
T> - Interface in tech.uom.lib.common.function -
Represents an operation to convert values.
D
- DescriptionSupplier - Interface in tech.uom.lib.common.function
-
Provides String description to implementations
- DescriptiveEnum<D> - Interface in tech.uom.lib.common.util
-
This interface is used to provide a
getDescription()
method to enums. - DimensionAssert - Class in tech.uom.lib.assertj.assertions
-
Dimension
specific assertions - Generated by CustomAssertionGenerator. - DimensionAssert(Dimension) - Constructor for class tech.uom.lib.assertj.assertions.DimensionAssert
-
Creates a new
to make assertions on actual Dimension.DimensionAssert
- DoubleFactorSupplier - Interface in tech.uom.lib.common.function
-
Represents a supplier of
double
-valued multiplication factors. - dValues() - Method in interface tech.uom.lib.common.util.DescriptiveEnum
F
- FactorSupplier<T> - Interface in tech.uom.lib.common.function
-
Represents a supplier of
T
-valued multiplication factors. - fiterByExcludingUnit(Unit<Q>...) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Predicate to filter excluding these units
- fiterByUnit(Unit<Q>...) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Predicate to filter to one or more units
G
- getBase() - Method in interface tech.uom.lib.common.function.IntBaseSupplier
-
Gets a base value.
- getCode() - Method in interface tech.uom.lib.common.function.Coded
- getConverter() - Method in interface tech.uom.lib.common.function.UnitConverterSupplier
- getDescription() - Method in interface tech.uom.lib.common.function.DescriptionSupplier
- getDescription() - Method in interface tech.uom.lib.common.util.DescriptiveEnum
- getExponent() - Method in interface tech.uom.lib.common.function.IntExponentSupplier
-
Gets an exponent value.
- getFactor() - Method in interface tech.uom.lib.common.function.DoubleFactorSupplier
- getFactor() - Method in interface tech.uom.lib.common.function.FactorSupplier
- getId() - Method in interface tech.uom.lib.common.function.Identifiable
- getId() - Method in interface tech.uom.lib.common.function.IntIdentifiable
- getId() - Method in interface tech.uom.lib.common.function.LongIdentifiable
- getInstance() - Static method in class tech.uom.lib.common.util.NumberComparator
- getMaximum() - Method in interface tech.uom.lib.common.function.IntMaximumSupplier
-
Gets a maximum value.
- getMaximum() - Method in interface tech.uom.lib.common.function.MaximumSupplier
-
Gets a maximum value.
- getMinimum() - Method in interface tech.uom.lib.common.function.IntMinimumSupplier
-
Gets a minimum value.
- getMinimum() - Method in interface tech.uom.lib.common.function.MinimumSupplier
-
Gets a minimum value.
- getName() - Method in interface tech.uom.lib.common.function.Nameable
- getPriority() - Method in interface tech.uom.lib.common.function.IntPrioritySupplier
-
Gets a priority value.
- getQuantity() - Method in interface tech.uom.lib.common.function.QuantitySupplier
-
Gets a quantity.
- getSymbol() - Method in interface tech.uom.lib.common.function.SymbolSupplier
- getUnit() - Method in interface tech.uom.lib.common.function.UnitSupplier
- getValue() - Method in interface tech.uom.lib.common.function.ValueSupplier
-
Gets a value.
- getVersion() - Method in interface tech.uom.lib.common.function.Versioned
- groupByUnit() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a function to group quantities by their
unit
.
H
- hasBaseDimensions(Map) - Method in class tech.uom.lib.assertj.assertions.AbstractDimensionAssert
-
Verifies that the actual Dimension's baseDimensions is equal to the given one.
- hasBaseUnits(Map) - Method in class tech.uom.lib.assertj.assertions.AbstractUnitAssert
-
Verifies that the actual Unit's baseUnits is equal to the given one.
- hasDimension(Dimension) - Method in class tech.uom.lib.assertj.assertions.AbstractUnitAssert
-
Verifies that the actual Unit's dimension is equal to the given one.
- hasName(String) - Method in class tech.uom.lib.assertj.assertions.AbstractUnitAssert
-
Verifies that the actual Unit's name is equal to the given one.
- hasSymbol(String) - Method in class tech.uom.lib.assertj.assertions.AbstractUnitAssert
-
Verifies that the actual Unit's symbol is equal to the given one.
- hasSystemUnit(Unit) - Method in class tech.uom.lib.assertj.assertions.AbstractUnitAssert
-
Verifies that the actual Unit's systemUnit is equal to the given one.
- hasUnit(Unit) - Method in class tech.uom.lib.assertj.assertions.AbstractQuantityAssert
-
Verifies that the actual Quantity's unit is equal to the given one.
- hasValue(Number) - Method in class tech.uom.lib.assertj.assertions.AbstractQuantityAssert
-
Verifies that the actual Quantity's value is equal to the given one.
I
- Identifiable<T> - Interface in tech.uom.lib.common.function
-
Interface for objects with an Id.
- INSTANCE - Static variable in class tech.uom.lib.common.util.NumberComparator
- IntBaseSupplier - Interface in tech.uom.lib.common.function
-
Represents a supplier of int-valued base.
- IntExponentSupplier - Interface in tech.uom.lib.common.function
-
Represents a supplier of int-valued exponent.
- IntIdentifiable - Interface in tech.uom.lib.common.function
-
Interface for objects with an int-valued Id.
- IntMaximumSupplier - Interface in tech.uom.lib.common.function
-
Represents a supplier of int-valued maximum.
- IntMinimumSupplier<T> - Interface in tech.uom.lib.common.function
-
Represents a supplier of int-valued minimum.
- IntPrioritySupplier - Interface in tech.uom.lib.common.function
-
Represents a supplier of int-valued priority.
- isBetween(Number, Number) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a Filter to between, lesser or equals and greater or equals, than number, ignoring units
- isBetween(Quantity<Q>, Quantity<Q>) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a filter to between, lesser or equals and greater or equals, than the quantity measure
- isGreaterThan(Number) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a Filter to greater than number, ignoring units
- isGreaterThan(Quantity<Q>) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a filter to greater than the quantity measure
- isGreaterThanOrEqualTo(Number) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a Filter to greater or equals than number, ignoring units
- isGreaterThanOrEqualTo(Quantity<Q>) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a filter to greater or equals than the quantity measure
- isLessThan(Number) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a Filter to lesser than number, ignoring units
- isLessThan(Quantity<Q>) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a filter to lesser than the quantity measure
- isLessThanOrEqualTo(Number) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a Filter to lesser or equals than number, ignoring units
- isLessThanOrEqualTo(Quantity<Q>) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
creates a filter to lesser or equals than the quantity measure
J
- JUnitSoftAssertions - Class in tech.uom.lib.assertj
-
Like
SoftAssertions
but as a junit rule that takes care of callingassertAll()
at the end of each test. - JUnitSoftAssertions() - Constructor for class tech.uom.lib.assertj.JUnitSoftAssertions
L
- LongIdentifiable - Interface in tech.uom.lib.common.function
-
Interface for objects with an long-valued Id.
M
- max() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a BinaryOperator to calculate the maximum Quantity
- MaximumSupplier<T> - Interface in tech.uom.lib.common.function
-
Represents a supplier of maximum value.
- min() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a BinaryOperator to calculate the minimum Quantity
- MinimumSupplier<T> - Interface in tech.uom.lib.common.function
-
Represents a supplier of minimum value.
N
- name() - Method in interface tech.uom.lib.common.util.DescriptiveEnum
- Nameable - Interface in tech.uom.lib.common.function
-
Provides String name to implementations
- NaturalQuantityComparator<T> - Class in tech.uom.lib.common.util
-
Comparator to sort quantities by natural order, looking both the unit and the value.
- NaturalQuantityComparator() - Constructor for class tech.uom.lib.common.util.NaturalQuantityComparator
- NumberComparator - Class in tech.uom.lib.common.util
-
Compares two Number objects with each other
- NumberComparator() - Constructor for class tech.uom.lib.common.util.NumberComparator
O
- of(SystemOfUnits) - Static method in class tech.uom.lib.common.util.SystemOfUnitsReporter
P
- parse(I) - Method in interface tech.uom.lib.common.function.Parser
-
Parses the specified
I
to produce aO
. - Parser<I,
O> - Interface in tech.uom.lib.common.function -
Represents a function that parses an input value and produces an output.
- printSoU(SystemOfUnits, boolean) - Static method in class tech.uom.lib.common.util.SystemOfUnitsReporter
Q
- QuantityAssert - Class in tech.uom.lib.assertj.assertions
-
Quantity
specific assertions - Generated by CustomAssertionGenerator. - QuantityAssert(Quantity) - Constructor for class tech.uom.lib.assertj.assertions.QuantityAssert
-
Creates a new
to make assertions on actual Quantity.QuantityAssert
- QuantityConverter<Q> - Interface in tech.uom.lib.common.function
-
Represents an operation to convert quantities.
- QuantityFunctions - Class in tech.uom.lib.common.function
-
Utility methods for operating on
units
andquantities
with Java functional interfaces like Function. - QuantityFunctions() - Constructor for class tech.uom.lib.common.function.QuantityFunctions
- QuantitySupplier<Q> - Interface in tech.uom.lib.common.function
-
Represents a supplier of quantities.
R
- report() - Method in class tech.uom.lib.common.util.SystemOfUnitsReporter
- report(boolean) - Method in class tech.uom.lib.common.util.SystemOfUnitsReporter
S
- SoftAssertions - Class in tech.uom.lib.assertj
-
Entry point for soft assertions of different data types.
- SoftAssertions() - Constructor for class tech.uom.lib.assertj.SoftAssertions
- sortNatural() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a comparator to sort by natural order, looking to both the unit and the value.
- sortNaturalDesc() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a comparator to sort by natural order descending, looking to both the unit and the value.
- sortNumber() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a comparator to sort by number, ignoring the unit.
- sortNumberDesc() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a comparator to sort by number descending, ignoring the unit.
- sortSymbol() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a comparator to sort by name, ignoring the value.
- sortSymbolDesc() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a comparator to sort by name descending, ignoring the value.
- sou - Variable in class tech.uom.lib.common.util.SystemOfUnitsReporter
- sum() - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a BinaryOperator to sum.
- sum(Unit<Q>) - Static method in class tech.uom.lib.common.function.QuantityFunctions
-
Creates a BinaryOperator to sum converting to unit
- SymbolSupplier - Interface in tech.uom.lib.common.function
-
Provides String symbol to implementations
- SystemOfUnitsReporter - Class in tech.uom.lib.common.util
- SystemOfUnitsReporter(SystemOfUnits) - Constructor for class tech.uom.lib.common.util.SystemOfUnitsReporter
T
- tech.uom.lib.assertj - package tech.uom.lib.assertj
- tech.uom.lib.assertj.assertions - package tech.uom.lib.assertj.assertions
- tech.uom.lib.common.function - package tech.uom.lib.common.function
-
Functional Interfaces
- tech.uom.lib.common.util - package tech.uom.lib.common.util
-
Utility classes
- then(Dimension) - Static method in class tech.uom.lib.assertj.BddAssertions
-
Creates a new instance of
.DimensionAssert
- then(Quantity) - Static method in class tech.uom.lib.assertj.BddAssertions
-
Creates a new instance of
.QuantityAssert
- then(Unit) - Static method in class tech.uom.lib.assertj.BddAssertions
-
Creates a new instance of
.UnitAssert
- to(Unit<Q>) - Method in interface tech.uom.lib.common.function.QuantityConverter
-
Returns a quantity converted into another unit.
U
- UnitAssert - Class in tech.uom.lib.assertj.assertions
-
Unit
specific assertions - Generated by CustomAssertionGenerator. - UnitAssert(Unit) - Constructor for class tech.uom.lib.assertj.assertions.UnitAssert
-
Creates a new
to make assertions on actual Unit.UnitAssert
- UnitComparator<U> - Class in tech.uom.lib.common.util
-
Comparator to sort units by natural order, looking both the name and the symbol.
- UnitComparator() - Constructor for class tech.uom.lib.common.util.UnitComparator
- UnitConverterSupplier - Interface in tech.uom.lib.common.function
-
Provides a
UnitConverter
to implementations - UnitSupplier<Q> - Interface in tech.uom.lib.common.function
-
Provides a
Unit
to implementations
V
- ValueSupplier<T> - Interface in tech.uom.lib.common.function
-
Represents a supplier of values.
- Versioned<T> - Interface in tech.uom.lib.common.function
-
Interface for objects with a
version
.
All Classes and Interfaces|All Packages