public interface Quantity
extends java.lang.Comparable
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
format(java.lang.StringBuffer buf)
Format this Quantity
|
java.lang.String |
getName()
Get the name of this Quantity.
|
boolean |
isAssignable(ucar.units.Unit unit)
See if the
Unit is assignable to this quantity. |
boolean |
isAssignable(Value value)
See if a
Value is assignable to this Quantity |
java.lang.String getName()
boolean isAssignable(ucar.units.Unit unit)
Unit
is assignable to this quantity.
i.e, is it a compatible unitunit
- Unit in questionboolean isAssignable(Value value)
Value
is assignable to this Quantityvalue
- Value to check.java.lang.StringBuffer format(java.lang.StringBuffer buf)
buf
- input/output bufferbuf
with formatted info