Q - public interface ComparableUnit<Q extends javax.measure.Quantity<Q>> extends javax.measure.Unit<Q>, Comparable<javax.measure.Unit<Q>>, Serializable
Unit}| Modifier and Type | Method and Description |
|---|---|
boolean |
isEquivalentOf(javax.measure.Unit<Q> that)
Compares two instances of
, doing the conversion of unit if necessary. |
boolean |
isSystemUnit()
Indicates if this unit belongs to the set of coherent SI units (unscaled SI units).
|
alternate, asType, divide, divide, getBaseUnits, getConverterTo, getConverterToAny, getDimension, getName, getSymbol, getSystemUnit, inverse, isCompatible, multiply, multiply, pow, prefix, root, shift, toString, transformcompareToboolean isEquivalentOf(javax.measure.Unit<Q> that)
, doing the conversion of unit if necessary.that - the Unit<Q> to be compared with this instance.true if that < this.NullPointerException - if the unit is nullboolean isSystemUnit()
equals(toSystemUnit())Copyright © 2005–2018 Units of Measurement project. All rights reserved.