javax.measure.unit
Class SystemOfUnits

java.lang.Object
  extended by javax.measure.unit.SystemOfUnits
Direct Known Subclasses:
NonSI, SI

public abstract class SystemOfUnits
extends java.lang.Object

This class represents a system of units, it groups units together for historical or cultural reasons. Nothing prevents a unit from belonging to several system of units at the same time (for example an imperial system would have many of the units held by NonSI).


Constructor Summary
SystemOfUnits()
           
 
Method Summary
abstract  java.util.Set<Unit<?>> getUnits()
          Returns a read only view over the units defined in this system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemOfUnits

public SystemOfUnits()
Method Detail

getUnits

public abstract java.util.Set<Unit<?>> getUnits()
Returns a read only view over the units defined in this system.

Returns:
the collection of units.