java.lang.Object
com.ibm.j9ddr.vm29.j9.DataType
com.ibm.j9ddr.vm29.types.Scalar
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected longprotected StringFields declared in class com.ibm.j9ddr.vm29.j9.DataType
BITFIELD_FORMAT, pointerPackageName, process, SIZEOF_BOOL, structurePackageName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanallBitsIn(long bitmask) booleananyBitsIn(long bitmask) byteprotected voidcheckComparisonValid(Scalar parameter) static UDATAconvertBytesToSlots(UDATA size) static UDATAconvertSlotsToBytes(UDATA size) booleaneq(long parameter) booleanbooleanThis is a class based equals.booleangt(int parameter) booleangt(long parameter) booleanbooleanintintValue()abstract booleanisSigned()booleanisZero()longbooleanlt(int parameter) booleanlt(long parameter) booleanbooleanbooleanmaskAndCompare(long bitmask, long compareValue) protected static UDATAstatic UDATAroundToSizeofU32(UDATA value) static UDATAroundToSizeofU64(UDATA value) static UDATAroundToSizeofUDATA(UDATA value) static UDATAroundToSizeToFJ9object(UDATA value) static UDATAshortprotected booleanabstract intsizeof()Methods declared in class com.ibm.j9ddr.vm29.j9.DataType
formatShortInteractive, getJ9RASPointer, getPointerPackageName, getProcess, getStructure, getStructure, getStructure, getStructurePackageName, init, setJ9RASPointer
-
Field Details
-
data
protected long data -
bitsPerBytes
protected static final int bitsPerBytes- See Also:
-
bitsPerLong
protected static final int bitsPerLong- See Also:
-
toStringPattern
-
-
Constructor Details
-
Scalar
public Scalar(long value) -
Scalar
-
Scalar
public Scalar()
-
-
Method Details
-
byteValue
public byte byteValue() -
shortValue
public short shortValue() -
intValue
public int intValue() -
longValue
public long longValue() -
getHexValue
-
equals
This is a class based equals. Objects can only be equal if they are the same class. It is meant for use with Hash based collections. I.E. U16.equals(I16) is never true, regardless of the values represented by the objects. For mathematical equality use .eq(Scalar) -
eq
-
eq
public boolean eq(long parameter) -
checkComparisonValid
-
gt
public boolean gt(int parameter) -
gt
public boolean gt(long parameter) -
lt
public boolean lt(int parameter) -
lt
public boolean lt(long parameter) -
isZero
public boolean isZero() -
gt
-
gte
-
lt
-
lte
-
convertBytesToSlots
-
convertSlotsToBytes
-
roundToSizeofUDATA
-
roundToSizeToObjectReference
-
roundToSizeofU32
-
roundToSizeofU64
-
roundToSizeToFJ9object
-
roundTo
-
allBitsIn
public final boolean allBitsIn(long bitmask) -
anyBitsIn
public boolean anyBitsIn(long bitmask) -
maskAndCompare
public boolean maskAndCompare(long bitmask, long compareValue) -
signBitSet
protected boolean signBitSet() -
sizeof
public abstract int sizeof() -
isSigned
public abstract boolean isSigned()
-