|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsleep.engine.types.IntValue
public class IntValue
Field Summary | |
---|---|
protected int |
value
|
Constructor Summary | |
---|---|
IntValue(int _value)
|
Method Summary | |
---|---|
ScalarType |
copyValue()
create a clone of this scalar's value. |
double |
doubleValue()
convert the scalar to a double |
int |
intValue()
convert the scalar to an int |
long |
longValue()
convert the scalar to a long |
java.lang.Object |
objectValue()
convert the scalar to an object value *shrug* |
java.lang.String |
toString()
convert the scalar to a string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int value
Constructor Detail |
---|
public IntValue(int _value)
Method Detail |
---|
public ScalarType copyValue()
ScalarType
copyValue
in interface ScalarType
public int intValue()
ScalarType
intValue
in interface ScalarType
public long longValue()
ScalarType
longValue
in interface ScalarType
public double doubleValue()
ScalarType
doubleValue
in interface ScalarType
public java.lang.String toString()
ScalarType
toString
in interface ScalarType
toString
in class java.lang.Object
public java.lang.Object objectValue()
ScalarType
objectValue
in interface ScalarType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |