Package tech.uom.lib.common.function
Interface PrefixOperator<Q extends Quantity<Q>>
- Type Parameters:
Q- the quantity type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a function that parses an input value and produces an output.
This is a functional interface whose functional method is #prefix().
- Since:
- 2.0
- Version:
- 0.9, 2019-01-31
- Author:
- Werner Keil
- See Also:
-
Method Summary
-
Method Details
-
prefix
Returns a new unit equal to this unit prefixed by the specifiedprefix.- Parameters:
prefix- the prefix to apply on this unit.- Returns:
- the unit with the given prefix applied.
-