public class BasicValue extends java.lang.Object implements Value
Value that is represented by its type in a seven types type system.
This type system distinguishes the UNINITIALZED, INT, FLOAT, LONG, DOUBLE,
REFERENCE and RETURNADDRESS types.| Modifier and Type | Field and Description |
|---|---|
static Value |
DOUBLE_VALUE |
static Value |
FLOAT_VALUE |
static Value |
INT_VALUE |
static Value |
LONG_VALUE |
static Value |
REFERENCE_VALUE |
static Value |
RETURNADDRESS_VALUE |
static Value |
UNINITIALIZED_VALUE |
| Constructor and Description |
|---|
BasicValue(Type type) |
public static final Value UNINITIALIZED_VALUE
public static final Value INT_VALUE
public static final Value FLOAT_VALUE
public static final Value LONG_VALUE
public static final Value DOUBLE_VALUE
public static final Value REFERENCE_VALUE
public static final Value RETURNADDRESS_VALUE
public BasicValue(Type type)
public Type getType()
public int getSize()
Valuepublic boolean isReference()
public boolean equals(java.lang.Object value)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 Oracle Corporation. All Rights Reserved.