- <init>
Creates a new Unit instance.
- add
Returns a new Unit that is the addition of this Unit and the Unit specified.
- addSIname
- computeName
- div
Returns a new Unit that is the division of this Unit and the Unit specified
- equals
Checks whether this Unit object is equal to the specifiedUnit object. The Unit
objects are consider
- find
Finds a Unit based on a type. If the Unit is not found, it will be created and
added to the list of
- hashCode
Returns the hash code for this object.
- isSpecial
Checks whether the unit has a special type, i.e. not a SI unit.
- mul
Returns a new Unit that is the multiplication of thisUnit and the Unit specified
- sub
Returns a new Unit that is the subtraction between thisUnit and the Unit
specified.
- toString
Returns a String object representing the Unit