public abstract class

Quantity

extends Unit
java.lang.Object
   ↳ com.openxc.units.Unit
     ↳ com.openxc.units.Quantity<T extends java.lang.Number>
Known Direct Subclasses

Class Overview

A quantitative type of Unit. All quantitative children of Unit extend from this abstract class, which encapsulates common logic for converting among different numerical values.

Summary

Public Constructors
Quantity(T value)
Construct an instance of Quantity with the value.
Public Methods
double doubleValue()
boolean equals(Object obj)
Object getSerializedValue()
String getTypeString()
int intValue()
String toString()
[Expand]
Inherited Methods
From class com.openxc.units.Unit
From class java.lang.Object

Public Constructors

public Quantity (T value)

Construct an instance of Quantity with the value.

Parameters
value a quantitative Unit value.

Public Methods

public double doubleValue ()

public boolean equals (Object obj)

public Object getSerializedValue ()

public String getTypeString ()

public int intValue ()

public String toString ()