Package edu.uiuc.ncsa.qdl.variables
Class Constant
- java.lang.Object
-
- edu.uiuc.ncsa.qdl.variables.Constant
-
public class Constant extends Object
Utility class to manage constants for the system. This is the value recorded at parse timeCreated by Jeff Gaynor
on 1/13/20 at 3:07 PM
-
-
Field Summary
Fields Modifier and Type Field Description static int
BOOLEAN_TYPE
static int
DECIMAL_TYPE
static int
DYADIC_FUNCTION_TYPE
static int
FUNCTION_TYPE
static int
LONG_TYPE
static int
MODULE_TYPE
static int
NULL_TYPE
static int
SET_TYPE
static int
STEM_TYPE
static int
STRING_TYPE
static int
UNKNOWN_TYPE
-
Constructor Summary
Constructors Constructor Description Constant()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getLong()
String
getString()
int
getType()
static int
getType(Object object)
Object
getValue()
static boolean
isModule(Object key)
static boolean
isNull(Object obj)
static boolean
isScalar(Object obj)
static boolean
isSet(Object obj)
static boolean
isStem(Object obj)
static boolean
isString(Object key)
-
-
-
Field Detail
-
UNKNOWN_TYPE
public static final int UNKNOWN_TYPE
- See Also:
- Constant Field Values
-
NULL_TYPE
public static final int NULL_TYPE
- See Also:
- Constant Field Values
-
BOOLEAN_TYPE
public static final int BOOLEAN_TYPE
- See Also:
- Constant Field Values
-
LONG_TYPE
public static final int LONG_TYPE
- See Also:
- Constant Field Values
-
STRING_TYPE
public static final int STRING_TYPE
- See Also:
- Constant Field Values
-
STEM_TYPE
public static final int STEM_TYPE
- See Also:
- Constant Field Values
-
DECIMAL_TYPE
public static final int DECIMAL_TYPE
- See Also:
- Constant Field Values
-
FUNCTION_TYPE
public static final int FUNCTION_TYPE
- See Also:
- Constant Field Values
-
DYADIC_FUNCTION_TYPE
public static final int DYADIC_FUNCTION_TYPE
- See Also:
- Constant Field Values
-
SET_TYPE
public static final int SET_TYPE
- See Also:
- Constant Field Values
-
MODULE_TYPE
public static final int MODULE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public static int getType(Object object)
-
isString
public static boolean isString(Object key)
-
isModule
public static boolean isModule(Object key)
-
getType
public int getType()
-
getValue
public Object getValue()
-
getString
public String getString()
-
getLong
public Long getLong()
-
isNull
public static boolean isNull(Object obj)
-
isScalar
public static boolean isScalar(Object obj)
-
isStem
public static boolean isStem(Object obj)
-
isSet
public static boolean isSet(Object obj)
-
-