|
||||||||||
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_Float
public class XS_Float
Constructor Summary | |
---|---|
XS_Float(float value)
Constructor |
|
XS_Float(java.lang.String s)
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 |
|
boolean |
equals(java.lang.Object o)
Method equals |
|
float |
floatValue()
Method floatValue |
|
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_Float |
valueOf(Numeric d)
Method valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XS_Float(float value)
value
- a floatpublic XS_Float(java.lang.String s)
s
- a XS_StringMethod Detail |
---|
public int compareTo(Numeric num)
compareTo
in interface java.lang.Comparable<Numeric>
o
- an Object
public float floatValue()
public java.lang.String toString()
toString
in class java.lang.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 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 static XS_Float valueOf(Numeric d)
d
- a Numeric
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 |