gnu.xquery.util
Class NumberValue
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure1
gnu.xquery.util.NumberValue
- All Implemented Interfaces:
- Named
public class NumberValue
- extends Procedure1
Method Summary |
static java.lang.Object |
abs(java.lang.Object value)
|
java.lang.Object |
apply1(java.lang.Object arg)
|
static java.lang.Object |
ceiling(java.lang.Object val)
|
static java.lang.Object |
floor(java.lang.Object val)
|
static boolean |
isNaN(java.lang.Object arg)
|
static java.lang.Number |
numberCast(java.lang.Object value)
|
static java.lang.Object |
numberValue(java.lang.Object value)
|
static java.lang.Object |
round(java.lang.Object arg)
|
static java.lang.Object |
roundHalfToEven(java.lang.Object value)
|
static java.lang.Object |
roundHalfToEven(java.lang.Object value,
IntNum precision)
|
Methods inherited from class gnu.mapping.Procedure |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
numberValue
public static final NumberValue numberValue
NaN
public static final java.lang.Double NaN
NumberValue
public NumberValue()
isNaN
public static boolean isNaN(java.lang.Object arg)
apply1
public java.lang.Object apply1(java.lang.Object arg)
- Specified by:
apply1
in class Procedure1
numberCast
public static java.lang.Number numberCast(java.lang.Object value)
numberValue
public static java.lang.Object numberValue(java.lang.Object value)
abs
public static java.lang.Object abs(java.lang.Object value)
floor
public static java.lang.Object floor(java.lang.Object val)
ceiling
public static java.lang.Object ceiling(java.lang.Object val)
round
public static java.lang.Object round(java.lang.Object arg)
roundHalfToEven
public static java.lang.Object roundHalfToEven(java.lang.Object value,
IntNum precision)
roundHalfToEven
public static java.lang.Object roundHalfToEven(java.lang.Object value)