|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ParseException in net.sourceforge.unit |
---|
Methods in net.sourceforge.unit that throw ParseException | |
---|---|
void |
UnitSystem.add(java.lang.String u)
Add the unit u to this system. |
void |
UnitSystem.add(java.lang.String[] u)
Add the unit u to this system. |
static java.util.Enumeration |
Unit.enumerate()
Return an enumeration of all defined units. |
static Unit |
Unit.newUnit(java.lang.String s)
Create, if necessary, a new unit from the given definiton. |
static Unit |
Unit.newUnit(java.lang.String name,
double m,
java.lang.String s)
Make a unit which is m times the unit s . |
static Unit |
Unit.newUnit(java.lang.String name,
double m,
java.lang.String s,
double b)
Make a unit which is m times the unit s ,
with an offset of b . |
int |
Quantity.set(java.lang.String s)
Set this value and possibly change units. |
int |
Quantity.set(java.lang.String s,
boolean sloppy)
|
Constructors in net.sourceforge.unit that throw ParseException | |
---|---|
Quantity(java.lang.String s)
Create a quantity based on the given string. |
|
Quantity(java.lang.String s,
Unit def)
Create a quantity with the default units specified. |
|
UnitSystem(java.lang.String[] a)
Create a default system of units -- and add all the units in a to it. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |