|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
de.fraunhofer.ipsi.xpathDatatypes.XS_Double
public class XS_Double
Field Summary | |
---|---|
static XS_Double |
NaN
|
Constructor Summary | |
---|---|
XS_Double(double value)
Constructor |
|
XS_Double(java.lang.String value)
Constructor |
Method Summary | ||
---|---|---|
Numeric |
abs()
Method abs |
|
Numeric |
add(Numeric b)
Method add |
|
|
castas(java.lang.Class<T> type)
Method castas |
|
Numeric |
ceiling()
Method ceiling |
|
int |
compareTo(Numeric num)
Method compareTo |
|
Numeric |
divide(Numeric b)
Method divide |
|
double |
doubleValue()
Method doubleValue |
|
boolean |
equals(java.lang.Object o)
Method equals |
|
Numeric |
floor()
Method floor |
|
Numeric |
idivide(Numeric b)
Method idivide |
|
Numeric |
mod(Numeric b)
Method mod |
|
Numeric |
multiply(Numeric b)
Method multiply |
|
Numeric |
negate()
Method negate |
|
Numeric |
round()
Method round |
|
Numeric |
roundHalfToEven(int n)
Method roundHalfEven |
|
Numeric |
subtract(Numeric b)
Method subtract |
|
java.lang.String |
toString()
Method toString |
|
static XS_Double |
valueOf(XDT_AnyAtomicType d)
Method valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final XS_Double NaN
Constructor Detail |
---|
public XS_Double(double value)
value
- a doublepublic XS_Double(java.lang.String value)
value
- a StringMethod Detail |
---|
public double doubleValue()
public int compareTo(Numeric num)
compareTo
in interface java.lang.Comparable<Numeric>
o
- an Object
public Numeric add(Numeric b)
add
in interface Numeric
b
- a Numeric
public Numeric subtract(Numeric b)
subtract
in interface Numeric
b
- a Numeric
public Numeric multiply(Numeric b)
multiply
in interface Numeric
b
- a Numeric
public Numeric divide(Numeric b)
divide
in interface Numeric
b
- a Numeric
public Numeric idivide(Numeric b)
Numeric
idivide
in interface Numeric
b
- a Numeric
public Numeric mod(Numeric b)
mod
in interface Numeric
b
- a Numeric
public Numeric negate()
negate
in interface Numeric
public static XS_Double valueOf(XDT_AnyAtomicType d)
d
- a XS_AnySimpleType
public <T extends XDT_AnyAtomicType> T castas(java.lang.Class<T> type) throws java.lang.ClassCastException, XPathDTException
castas
in class XDT_AnyAtomicType
type
- a BuiltinSimpleType
CastError
java.lang.ClassCastException
XPathDTException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- an Object
public Numeric abs()
abs
in interface Numeric
public Numeric floor()
floor
in interface Numeric
public Numeric ceiling()
ceiling
in interface Numeric
public Numeric round()
round
in interface Numeric
public Numeric roundHalfToEven(int n)
roundHalfToEven
in interface Numeric
n
- an int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |