|
||||||||||
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_Decimal
public class XS_Decimal
Constructor Summary | |
---|---|
XS_Decimal(java.math.BigDecimal value)
Constructor |
|
XS_Decimal(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 divide |
|
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 |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XS_Decimal(java.math.BigDecimal value)
value
- a BigDecimalpublic XS_Decimal(java.lang.String value)
value
- a StringMethod Detail |
---|
public int compareTo(Numeric num)
compareTo
in interface java.lang.Comparable<Numeric>
o
- an Object
public java.lang.String toString()
toString
in class java.lang.Object
public double doubleValue()
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 idivide(Numeric b)
idivide
in interface Numeric
b
- a Numeric
public Numeric divide(Numeric b)
divide
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 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
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 boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- an Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |