- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.DataType
-
- com.ibm.j9ddr.vm29.pointer.AbstractPointer
-
- com.ibm.j9ddr.vm29.pointer.Pointer
-
- com.ibm.j9ddr.vm29.pointer.EnumPointer
-
public class EnumPointer extends Pointer
-
-
Field Summary
Fields Modifier and Type Field Description static EnumPointer
NULL
-
Fields declared in class com.ibm.j9ddr.vm29.pointer.AbstractPointer
address
-
Fields declared in class com.ibm.j9ddr.vm29.j9.DataType
BITFIELD_FORMAT, pointerPackageName, process, SIZEOF_BOOL, structurePackageName
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EnumPointer(long address, Class<?> enumClazz)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnumPointer
cast(long address, Class<?> enumClazz)
static EnumPointer
cast(AbstractPointer pointer, Class<?> enumClazz)
static EnumPointer
cast(UDATA udata, Class<?> enumClazz)
double
doubleAt(long index)
float
floatAt(long index)
long
longAt(long index)
-
Methods declared in class com.ibm.j9ddr.vm29.pointer.AbstractPointer
add, add, addOffset, addOffset, allBitsIn, anyBitsIn, at, at, compare, eq, formatFullInteractive, getAddress, getAddressSpace, getBaseCharAtOffset, getBoolAtOffset, getByteAtOffset, getBytesAtOffset, getDoubleAtOffset, getFloatAtOffset, getHexAddress, getHexValue, getIDATAAtOffset, getIntAtOffset, getLongAtOffset, getObjectClassAtOffset, getObjectMonitorAtOffset, getObjectReferenceAtOffset, getPointerAtOffset, getShortAtOffset, getTargetName, getUDATAAtOffset, gt, gte, hexAt, hexAt, isNull, lt, lte, nonNullAddress, notNull, reportClassCacheStats, sizeOfBaseType, sub, sub, sub, subOffset, subOffset, untag, untag
-
Methods declared in class com.ibm.j9ddr.vm29.j9.DataType
formatShortInteractive, getJ9RASPointer, getPointerPackageName, getProcess, getStructure, getStructure, getStructure, getStructurePackageName, init, longValue, setJ9RASPointer
-
-
-
-
Field Detail
-
NULL
public static final EnumPointer NULL
-
-
Constructor Detail
-
EnumPointer
protected EnumPointer(long address, Class<?> enumClazz)
-
-
Method Detail
-
cast
public static EnumPointer cast(AbstractPointer pointer, Class<?> enumClazz)
-
cast
public static EnumPointer cast(UDATA udata, Class<?> enumClazz)
-
cast
public static EnumPointer cast(long address, Class<?> enumClazz)
-
longAt
public long longAt(long index) throws CorruptDataException
- Throws:
CorruptDataException
-
doubleAt
public double doubleAt(long index) throws CorruptDataException
- Throws:
CorruptDataException
-
floatAt
public float floatAt(long index) throws CorruptDataException
- Throws:
CorruptDataException
-
-