|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsleep.engine.types.LongValue
public class LongValue
| Field Summary | |
|---|---|
protected long |
value
|
| Constructor Summary | |
|---|---|
LongValue(long _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 long value
| Constructor Detail |
|---|
public LongValue(long _value)
| Method Detail |
|---|
public ScalarType copyValue()
ScalarType
copyValue in interface ScalarTypepublic int intValue()
ScalarType
intValue in interface ScalarTypepublic long longValue()
ScalarType
longValue in interface ScalarTypepublic double doubleValue()
ScalarType
doubleValue in interface ScalarTypepublic java.lang.String toString()
ScalarType
toString in interface ScalarTypetoString in class java.lang.Objectpublic 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 | ||||||||