public interface UnitSupplier<Q extends javax.measure.Quantity<Q>>
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()
.
Modifier and Type | Method and Description |
---|---|
javax.measure.Unit<Q> |
getUnit() |
Copyright © 2005–2020 Units of Measurement project. All rights reserved.