Package ca.uqac.lif.cep.json
Class NumberValue
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,java.lang.Number>
-
- ca.uqac.lif.cep.json.NumberValue
-
- All Implemented Interfaces:
ca.uqac.lif.azrael.Printable,ca.uqac.lif.azrael.Readable,ca.uqac.lif.cep.Duplicable,ca.uqac.lif.cep.functions.DuplicableFunction
public class NumberValue extends ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,java.lang.Number>Extracts a number value from a JSON element.- Author:
- Sylvain Hallé
-
-
Field Summary
Fields Modifier and Type Field Description static NumberValueinstance
-
Constructor Summary
Constructors Modifier Constructor Description protectedNumberValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.NumbergetValue(ca.uqac.lif.json.JsonElement x)-
Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction
duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset
-
-
-
-
Field Detail
-
instance
public static final transient NumberValue instance
-
-