mindio
Class Unit

java.lang.Object
  extended bymindio.Unit

public class Unit
extends java.lang.Object

Unit of measurement. This class represents a unit of measurement, i.e. microvolts, hertz.


Field Summary
static Unit HERTZ
           
static Unit MICROVOLTS
           
static Unit RATIO
           
static Unit TRUE_FALSE
          This is used instead of boolean because all values/samples will have the same type (probably double) so they will be compatible.
 
Constructor Summary
Unit(java.lang.String name, java.lang.String symbol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MICROVOLTS

public static Unit MICROVOLTS

HERTZ

public static Unit HERTZ

TRUE_FALSE

public static Unit TRUE_FALSE
This is used instead of boolean because all values/samples will have the same type (probably double) so they will be compatible. A negative value will be considered false, and zero or a positive value will be considered true.


RATIO

public static Unit RATIO
Constructor Detail

Unit

public Unit(java.lang.String name,
            java.lang.String symbol)