|
||||||||||
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
de.fraunhofer.ipsi.xpathDatatypes.XS_Integer
public class XS_Integer
Constructor Summary | |
---|---|
XS_Integer(java.math.BigInteger value)
Constructor |
|
XS_Integer(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 |
floor()
Method floor |
|
long |
longValue()
Method longValue |
|
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 de.fraunhofer.ipsi.xpathDatatypes.XS_Decimal |
---|
divide, doubleValue, equals, idivide |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XS_Integer(java.math.BigInteger value)
value
- a BigIntegerpublic XS_Integer(java.lang.String value)
value
- a StringMethod Detail |
---|
public long longValue()
public int compareTo(Numeric num)
compareTo
in interface java.lang.Comparable<Numeric>
compareTo
in class XS_Decimal
o
- an Object
public java.lang.String toString()
toString
in class XS_Decimal
public Numeric add(Numeric b)
add
in interface Numeric
add
in class XS_Decimal
b
- a Numeric
public Numeric subtract(Numeric b)
subtract
in interface Numeric
subtract
in class XS_Decimal
b
- a Numeric
public Numeric multiply(Numeric b)
multiply
in interface Numeric
multiply
in class XS_Decimal
b
- a Numeric
public Numeric mod(Numeric b)
mod
in interface Numeric
mod
in class XS_Decimal
b
- a Numeric
public Numeric negate()
negate
in interface Numeric
negate
in class XS_Decimal
public Numeric abs()
abs
in interface Numeric
abs
in class XS_Decimal
public Numeric floor()
floor
in interface Numeric
floor
in class XS_Decimal
public Numeric ceiling()
ceiling
in interface Numeric
ceiling
in class XS_Decimal
public Numeric round()
round
in interface Numeric
round
in class XS_Decimal
public Numeric roundHalfToEven(int n)
roundHalfToEven
in interface Numeric
roundHalfToEven
in class XS_Decimal
n
- an int
public <T extends XDT_AnyAtomicType> T castas(java.lang.Class<T> type) throws java.lang.ClassCastException, XPathDTException
castas
in class XS_Decimal
type
- a BuiltinSimpleType
CastError
java.lang.ClassCastException
XPathDTException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |