Index
All Classes and Interfaces|All Packages
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 extends DescriptiveEnum<D>> - Interface in tech.uom.lib.common.util
-
This interface is used to provide a
getDescription()method to enums. - 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.
I
- Identifiable<T> - Interface in tech.uom.lib.common.function
-
Interface for objects with an Id.
- 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
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 extends Quantity<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
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
Ito produce aO. - Parser<I,
O> - Interface in tech.uom.lib.common.function -
Represents a function that parses an input value and produces an output.
- prefix(Prefix) - Method in interface tech.uom.lib.common.function.PrefixOperator
-
Returns a new unit equal to this unit prefixed by the specified
prefix. - PrefixOperator<Q extends Quantity<Q>> - Interface in tech.uom.lib.common.function
-
Represents a function that parses an input value and produces an output.
Q
- QuantityConverter<Q extends Quantity<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
unitsandquantitieswith Java functional interfaces like Function. - QuantitySupplier<Q extends Quantity<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
- 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.
- 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
T
- 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
- to(Unit<Q>) - Method in interface tech.uom.lib.common.function.QuantityConverter
-
Returns a quantity converted into another unit.
U
- UnitComparator<U extends Unit<?>> - Class in tech.uom.lib.common.util
-
Comparator to sort units by natural order, looking at both the name and symbol.
- UnitComparator() - Constructor for class tech.uom.lib.common.util.UnitComparator
- UnitConverterSupplier - Interface in tech.uom.lib.common.function
-
Provides a
UnitConverterto implementations - UnitSupplier<Q extends Quantity<Q>> - Interface in tech.uom.lib.common.function
-
Provides a
Unitto 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