public class Primitives extends Object
Modifier and Type | Field and Description |
---|---|
static PrimitiveDomain |
BINARY
Domain for EXPRESS BINARY type
|
static PrimitiveDomain |
BOOLEAN
Domain for EXPRESS BOOLEAN type
|
static PrimitiveDomain |
INTEGER
Domain for EXPRESS INTEGER type
|
static PrimitiveDomain |
LOGICAL
Domain for EXPRESS LOGICAL type
|
static Binary |
NULL_BINARY
Represents an unset value of type LOGICAL
|
static ExpBoolean |
NULL_BOOLEAN
Represents an unset value of type BOOLEAN
|
static int |
NULL_INTEGER
Represents an unset value of type INTEGER
|
static Logical |
NULL_LOGICAL
Represents an unset value of type LOGICAL
|
static double |
NULL_REAL
Represents an unset value of type REAL
|
static String |
NULL_STRING
Represents an unset value of type STRING
|
static PrimitiveDomain |
REAL
Domain for EXPRESS REAL type
|
static PrimitiveDomain |
STRING
Domain for EXPRESS STRING type
|
Modifier and Type | Method and Description |
---|---|
static PrimitiveDomain |
findDomain(Class cls)
Finds a Domain for a primitive corresponding to a class
|
static boolean |
isNull(double val)
Determines if the specified value is a null value.
|
static boolean |
isNull(int val)
Determines if the specified value is a null value.
|
static boolean |
isNull(Object val)
Determines if the specified value is a null value.
|
public static final PrimitiveDomain BOOLEAN
public static final ExpBoolean NULL_BOOLEAN
public static final PrimitiveDomain STRING
public static final String NULL_STRING
public static final PrimitiveDomain REAL
public static final double NULL_REAL
public static final PrimitiveDomain INTEGER
public static final int NULL_INTEGER
public static final PrimitiveDomain LOGICAL
public static final Logical NULL_LOGICAL
public static final PrimitiveDomain BINARY
public static final Binary NULL_BINARY
public static PrimitiveDomain findDomain(Class cls) throws DomainNotFoundException
cls
- The class to get the domain for.DomainNotFoundException
public static boolean isNull(Object val)
public static boolean isNull(int val)
public static boolean isNull(double val)