|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvisad.data.units.UnitPrefix
public class UnitPrefix
Class for representing unit prefixes.
| Field Summary | |
|---|---|
java.lang.String |
name
The name of the prefix: |
double |
value
The value of the prefix: |
| Constructor Summary | |
|---|---|
UnitPrefix(java.lang.String name,
double value)
Construct. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String name
public final double value
| Constructor Detail |
|---|
public UnitPrefix(java.lang.String name,
double value)
name - The name of the prefix (e.g. "mega", "M").value - The value of the prefix (e.g. 1e6).
java.lang.IllegalArgumentException - One of the arguments was null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||