|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jhlabs.map.Unit
com.jhlabs.map.DegreeUnit
public class DegreeUnit
| Field Summary |
|---|
| Fields inherited from class com.jhlabs.map.Unit |
|---|
abbreviation, ANGLE_UNIT, AREA_UNIT, LENGTH_UNIT, name, plural, value, VOLUME_UNIT |
| Constructor Summary | |
|---|---|
DegreeUnit()
|
|
| Method Summary | |
|---|---|
String |
format(double n)
|
String |
format(double n,
boolean abbrev)
|
String |
format(double x,
double y,
boolean abbrev)
|
double |
parse(String s)
|
| Methods inherited from class com.jhlabs.map.Unit |
|---|
equals, format, fromBase, toBase, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DegreeUnit()
| Method Detail |
|---|
public double parse(String s)
throws NumberFormatException
parse in class UnitNumberFormatExceptionpublic String format(double n)
format in class Unit
public String format(double n,
boolean abbrev)
format in class Unit
public String format(double x,
double y,
boolean abbrev)
format in class Unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||