org.problets.domain.model.datatype
Class CShort
java.lang.Object
org.problets.domain.model.DomainModel
org.problets.domain.model.datatype.Value
org.problets.domain.model.datatype.CInteger
org.problets.domain.model.datatype.CSigned
org.problets.domain.model.datatype.CShort
- All Implemented Interfaces:
- java.lang.Cloneable
public class CShort
- extends CSigned
- implements java.lang.Cloneable
CShort
Class to wrap C++ short integer values
- Author:
- Amruth Kumar
Fields inherited from class org.problets.domain.model.DomainModel |
BOOLEAN, BREAKPOINT, CHARACTER, DOUBLE_PRECISION_REAL, ERROR_TYPE, EVAL_STATUS, expACTION, expASSIGNMENT, expAUTO_DEALLOCATION, expCALL, expCONDITION, expDECLARATION, expDEREFERENCING, expDYNAMIC_ALLOCATION, expDYNAMIC_ALLOCATION_INITIALIZATION, expDYNAMIC_DEALLOCATION, expELSE_CLAUSE, expERROR, expEXECUTION, expIF_CLAUSE, expINITIALIZATION, expINPUT, expPARAMETER_PASSING, expPRINT, expQUESTIONABLE, expREFERENCING, expRETURN, expRUNTIME_ERROR, expSEMANTIC_ERROR, expSYNTAX_ERROR, expUPDATE, MAX_OBJECT_IDENTITY, MIN_OBJECT_IDENTITY, QUADRUPLE_PRECISION_REAL, RUNTIME_ERROR, SEMANTIC_ERROR, SIGNED_INTEGER, SIGNED_LONG, SIGNED_SHORT, SINGLE_PRECISION_REAL, SYNTAX_ERROR, UNDEFINED_TYPE, UNSIGNED_INTEGER, UNSIGNED_LONG, UNSIGNED_SHORT, WARNING |
Constructor Summary |
CShort(int inValue)
|
CShort(java.lang.String inValue)
|
Method Summary |
java.lang.Object |
clone()
Returns a clone of this object |
static java.lang.String |
getRandomValue()
Returns a random short value |
Methods inherited from class org.problets.domain.model.datatype.Value |
compatible, equals, getCorrectValue, getCorrectValue, getCorrectValue, getMetaDataType, getValue, print, setValue, setValue, setValue, setValue, setValue, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MINIMUM
public static final int MINIMUM
- See Also:
- Constant Field Values
MAXIMUM
public static final int MAXIMUM
- See Also:
- Constant Field Values
METADATATYPE
public static final int METADATATYPE
- See Also:
- Constant Field Values
CShort
public CShort(java.lang.String inValue)
CShort
public CShort(int inValue)
clone
public java.lang.Object clone()
- Returns a clone of this object
- Overrides:
clone
in class DomainModel
getRandomValue
public static java.lang.String getRandomValue()
- Returns a random short value