| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | booleanValue()
Implements abstract com. Implements com. Converts this value to a BooleanValue and returns the result as a boolean. |
| public byte | byteValue()
Implements abstract com. Implements com. Converts this value to a ByteValue and returns the result as a byte. |
| public char | charValue()
Implements abstract com. Implements com. Converts this value to a CharValue and returns the result as a char. |
| pack-priv byte | |
| pack-priv char | |
| pack-priv int | |
| pack-priv short | |
| public int | compareTo(LongValue obj)
Implements java. Compares this object with the specified object for order. |
| public double | doubleValue()
Implements abstract com. Implements com. Converts this value to a DoubleValue and returns the result as a double. |
| public boolean | equals(Object obj)
Overrides com. Implements com. Compares the specified Object with this LongValue for equality. |
| public float | floatValue()
Implements abstract com. Implements com. Converts this value to a FloatValue and returns the result as a float. |
| public int | hashCode()
Overrides com. Implements com. Returns the hash code value for this LongValue. |
| public int | intValue()
Implements abstract com. Implements com. Converts this value to an IntegerValue and returns the result as an int. |
| public long | longValue()
Implements abstract com. Implements com. Converts this value to a LongValue and returns the result as a long. |
| public short | shortValue()
Implements abstract com. Implements com. Converts this value to a ShortValue and returns the result as a short. |
| public String | toString()
Overrides java. Implements com. Returns a String describing this mirror |
| public Type | |
| pack-priv byte | |
| public long |
| value | back to summary |
|---|---|
| private long value | |
| LongValueImpl | back to summary |
|---|---|
| pack-priv LongValueImpl(VirtualMachine aVm, long aValue) | |
| booleanValue | back to summary |
|---|---|
| public boolean booleanValue() Implements abstract com. Implements com. Doc from com. Converts this value to a BooleanValue and returns the result as a boolean. | |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Implements abstract com. Implements com. Doc from com. Converts this value to a ByteValue and returns the result as a byte. The value will be narrowed as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a byte). | |
| charValue | back to summary |
|---|---|
| public char charValue() Implements abstract com. Implements com. Doc from com. Converts this value to a CharValue and returns the result as a char. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a char, in the narrowing case). | |
| checkedByteValue | back to summary |
|---|---|
| pack-priv byte checkedByteValue() throws InvalidTypeException Overrides com. | |
| checkedCharValue | back to summary |
|---|---|
| pack-priv char checkedCharValue() throws InvalidTypeException Overrides com. | |
| checkedIntValue | back to summary |
|---|---|
| pack-priv int checkedIntValue() throws InvalidTypeException Overrides com. | |
| checkedShortValue | back to summary |
|---|---|
| pack-priv short checkedShortValue() throws InvalidTypeException Overrides com. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(LongValue obj) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements abstract com. Implements com. Doc from com. Converts this value to a DoubleValue and returns the result as a double. The value will be widened as necessary, and precision information may be lost. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides com. Implements com. Doc from com. Compares the specified Object with this LongValue for equality. | |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements abstract com. Implements com. Doc from com. Converts this value to a FloatValue and returns the result as a float. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a float, in the narrowing case). | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Implements com. Doc from com. Returns the hash code value for this LongValue. | |
| intValue | back to summary |
|---|---|
| public int intValue() Implements abstract com. Implements com. Doc from com. Converts this value to an IntegerValue and returns the result as an int. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to an int, in the narrowing case). | |
| longValue | back to summary |
|---|---|
| public long longValue() Implements abstract com. Implements com. Doc from com. Converts this value to a LongValue and returns the result as a long. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a long, in the narrowing case). | |
| shortValue | back to summary |
|---|---|
| public short shortValue() Implements abstract com. Implements com. Doc from com. Converts this value to a ShortValue and returns the result as a short. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a short, in the narrowing case). | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements com. Doc from com. Returns a String describing this mirror | |
| type | back to summary |
|---|---|
| public Type type() Implements com. Doc from com. Returns the run-time type of this value. | |
| typeValueKey | back to summary |
|---|---|
| pack-priv byte typeValueKey() Implements abstract com. | |
| value | back to summary |
|---|---|
| public long value() Implements com. Doc from com. Returns this LongValue as a long. | |