ojvm.data
Class JavaIntValue

java.lang.Object
  |
  +--ojvm.data.JavaValue
        |
        +--ojvm.data.JavaPrimitiveValue
              |
              +--ojvm.data.JavaIntValue

public class JavaIntValue
extends JavaPrimitiveValue

Representations of Java int values. File created June 9, 2000


Constructor Summary
JavaIntValue(int v)
           
 
Method Summary
 int getSize()
           
 int getValue()
           
 JavaByteValue toByte(boolean force)
           
 JavaCharValue toChar(boolean force)
           
 JavaDoubleValue toDouble(boolean force)
           
 JavaFloatValue toFloat(boolean force)
           
 JavaIntValue toInt(boolean force)
           
 JavaLongValue toLong(boolean force)
           
 ReturnAddress toReturnAddress()
           
 JavaShortValue toShort(boolean force)
           
 java.lang.String toString()
           
 
Methods inherited from class ojvm.data.JavaPrimitiveValue
toReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaIntValue

public JavaIntValue(int v)
Method Detail

getValue

public int getValue()

getSize

public int getSize()
Overrides:
getSize in class JavaValue

toFloat

public JavaFloatValue toFloat(boolean force)
                       throws BadConversionE
Overrides:
toFloat in class JavaValue

toDouble

public JavaDoubleValue toDouble(boolean force)
                         throws BadConversionE
Overrides:
toDouble in class JavaValue

toByte

public JavaByteValue toByte(boolean force)
                     throws BadConversionE
Overrides:
toByte in class JavaValue

toChar

public JavaCharValue toChar(boolean force)
                     throws BadConversionE
Overrides:
toChar in class JavaValue

toShort

public JavaShortValue toShort(boolean force)
                       throws BadConversionE
Overrides:
toShort in class JavaValue

toInt

public JavaIntValue toInt(boolean force)
Overrides:
toInt in class JavaValue

toLong

public JavaLongValue toLong(boolean force)
                     throws BadConversionE
Overrides:
toLong in class JavaValue

toReturnAddress

public ReturnAddress toReturnAddress()
                              throws BadConversionE
Overrides:
toReturnAddress in class JavaValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object