Package 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
-
Field Summary
FieldsFields inherited from class gnu.mapping.Procedure1
applyToObject
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
static Object
static Object
static boolean
static Number
numberCast
(Object value) static Object
numberValue
(Object value) static Object
static Object
roundHalfToEven
(Object value) static Object
roundHalfToEven
(Object value, IntNum precision) Methods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, applyToObject, numArgs
Methods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
Field Details
-
numberValue
-
NaN
-
-
Constructor Details
-
NumberValue
public NumberValue()
-
-
Method Details
-
isNaN
-
apply1
- Specified by:
apply1
in classProcedure1
-
numberCast
-
numberValue
-
abs
-
floor
-
ceiling
-
round
-
roundHalfToEven
-
roundHalfToEven
-