Top Description Methods
tech.uom.lib.common.function

public Interface UnitSupplier<Q extends Quantity<Q>>

Annotations
@FunctionalInterface
Type Parameters
<Q>
the type of quantity
Imports
javax.measure.Quantity, .Unit

Provides a Unit to implementations

There is no requirement that a distinct result be returned each time the supplier is invoked, unless implementing classes enforce it.

This is a functional interface whose functional method is getUnit().

Author
Werner Keil
Since
0.5
Version
1.1, $Date: 2019-01-31 $

Method Summary

Modifier and TypeMethod and Description
public Unit<Q>

Returns:

a unit
getUnit
()

Method Detail

getUnitback to summary
public Unit<Q> getUnit()
Returns:Unit<Q>

a unit