uk.ac.essex.ia
Class DataTypeConstant
java.lang.Object
uk.ac.essex.ia.DataTypeConstant
public final class DataTypeConstant
- extends java.lang.Object
Data type constants - these are used so an operator can indicate the type of
data that it outputs and also the type of data it accepts.
Method Summary |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
static DataTypeConstant |
getDataTypeConstant(java.lang.String className)
Gets a data type constant for a given class |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
RENDERED_IMAGE
public static final int RENDERED_IMAGE
- See Also:
- Constant Field Values
INT_ARRAY
public static final int INT_ARRAY
- See Also:
- Constant Field Values
NONE_TYPE
public static final DataTypeConstant NONE_TYPE
RENDERED_IMAGE_TYPE
public static final DataTypeConstant RENDERED_IMAGE_TYPE
INT_ARRAY_TYPE
public static final DataTypeConstant INT_ARRAY_TYPE
getDataTypeConstant
public static DataTypeConstant getDataTypeConstant(java.lang.String className)
- Gets a data type constant for a given class
- Parameters:
className
- - The class whose constant you want
- Returns:
- DataTypeConstant - For the given class name, or
NONE_TYPE
if one doesn't exist
equals
public boolean equals(java.lang.Object obj)
- Indicates whether some other object is "equal to" this one.
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
- the reference object with which to compare.
- Returns:
true
if this object is the same as the obj
argument; false
otherwise.