final class ElementProduct<T extends javax.measure.Quantity<T>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
pow
Holds the power exponent.
|
(package private) int |
root
Holds the root exponent.
|
(package private) javax.measure.Unit<T> |
unit
Holds the single unit.
|
Constructor and Description |
---|
ElementProduct(javax.measure.Unit<T> unit,
int pow,
int root)
Structural constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPow()
Returns the power exponent.
|
int |
getRoot()
Returns the root exponent.
|
javax.measure.Unit<?> |
getUnit()
Returns this element's unit.
|
final int pow
final int root
ElementProduct(javax.measure.Unit<T> unit, int pow, int root)
unit
- the unit.pow
- the power exponent.root
- the root exponent.public javax.measure.Unit<?> getUnit()
public int getPow()
public int getRoot()