|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.NonNegativeDecimal
public class NonNegativeDecimal
This class represents the in OpenDocument format used data type nonNegativeDecimal
| Constructor Summary | |
|---|---|
NonNegativeDecimal(double n)
Allocates a NonNegativeDecimal object representing the n argument |
|
| Method Summary | |
|---|---|
double |
doubleValue()
Returns the value of this NonNegativeDecimal object as a double primitive |
static boolean |
isValid(Double doubleValue)
check if the specified Double instance is a valid nonNegativeDecimal data type |
String |
toString()
Returns a String Object representing this NonNegativeDecimal's value |
static NonNegativeDecimal |
valueOf(String stringValue)
Returns a NonNegativeDecimal instance representing the specified String value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NonNegativeDecimal(double n)
throws IllegalArgumentException
n - the value of the NonNegativeDecimal
IllegalArgumentException - if the given argument is not a valid NonNegativeDecimal| Method Detail |
|---|
public String toString()
toString in class Object
public static NonNegativeDecimal valueOf(String stringValue)
throws IllegalArgumentException
stringValue - a String value
IllegalArgumentException - if the given argument is not a valid NonNegativeDecimalpublic double doubleValue()
public static boolean isValid(Double doubleValue)
doubleValue - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||