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
public class NumberValue extends Procedure1
-
-
Field Summary
Fields Modifier and Type Field Description static DoubleNaNstatic NumberValuenumberValue-
Fields 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 Constructor Description NumberValue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectabs(Object value)Objectapply1(Object arg)static Objectceiling(Object val)static Objectfloor(Object val)static booleanisNaN(Object arg)static NumbernumberCast(Object value)static ObjectnumberValue(Object value)static Objectround(Object arg)static ObjectroundHalfToEven(Object value)static ObjectroundHalfToEven(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 Detail
-
numberValue
public static final NumberValue numberValue
-
NaN
public static final Double NaN
-
-
Method Detail
-
isNaN
public static boolean isNaN(Object arg)
-
apply1
public Object apply1(Object arg)
- Specified by:
apply1in classProcedure1
-
-