public final class JScienceUnit extends java.lang.Object implements Unit
Modifier and Type | Field and Description |
---|---|
static JScienceUnit |
ONE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
javax.measure.unit.Unit<?> |
getUnit() |
int |
hashCode() |
static JScienceUnit |
of(javax.measure.unit.Unit<?> unit) |
java.lang.String |
toString() |
public static final JScienceUnit ONE
public static JScienceUnit of(javax.measure.unit.Unit<?> unit)
public javax.measure.unit.Unit<?> getUnit()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object