|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yosokumo.core.Value com.yosokumo.core.SpecialValue
public class SpecialValue
Represents an unsigned integer value. Since Java does not support unsigned, the value is stored in a long. All 64 bits of the unsigned value are stored, but no arithmetic operations are allowed on the value. Tests for equality and inequality are allowed, but not tests for greater than or less than.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.yosokumo.core.Value |
---|
Value.Type |
Constructor Summary | |
---|---|
SpecialValue(long value)
Initialize a newly created SpecialValue object with the
value specified by the input parameter. |
Method Summary | |
---|---|
Value.Type |
getType()
Return the special value type. |
long |
getValue()
Return the special value stored in this object. |
java.lang.String |
toString()
Return the special value as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpecialValue(long value)
SpecialValue
object with the
value specified by the input parameter.
value
- is the special value (>= 0).Method Detail |
---|
public Value.Type getType()
getType
in class Value
public long getValue()
public java.lang.String toString()
toString
in class Value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |