public class LongArrayFields extends ArrayFields
fieldAttrs, objectAttr
Constructor and Description |
---|
LongArrayFields(int length) |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(IntVector v) |
int |
arrayLength() |
long[] |
asLongArray() |
LongArrayFields |
clone() |
boolean |
equals(Object o)
default implementation is just an identity check
|
int |
getHeapSize()
give an approximation of the heap size in bytes - we assume fields are word
aligned, hence the number of values*4 should be good.
|
long |
getLongValue(int pos) |
Object |
getValues() |
void |
hash(HashData hd) |
protected void |
printValue(PrintStream ps,
int idx) |
void |
setLongValue(int pos,
long newValue) |
asBooleanArray, asByteArray, asCharArray, asCharArray, asDoubleArray, asFieldSlots, asFloatArray, asIntArray, asReferenceArray, asShortArray, getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getNumberOfFields, getReferenceValue, getShortValue, isReferenceArray, printElements, setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setReferenceValue, setShortValue
addFieldAttr, addObjectAttr, cloneFields, compareAttrs, copyAttrs, fieldAttrIterator, fieldAttrIterator, getFieldAttr, getFieldAttr, getNextFieldAttr, getNextObjectAttr, getObjectAttr, getObjectAttr, hasFieldAttr, hasFieldAttr, hasFieldAttr, hashAttrs, hashCode, hasObjectAttr, hasObjectAttr, objectAttrIterator, objectAttrIterator, removeFieldAttr, removeObjectAttr, replaceFieldAttr, replaceObjectAttr, setFieldAttr, setObjectAttr
public long[] asLongArray()
asLongArray
in class ArrayFields
protected void printValue(PrintStream ps, int idx)
printValue
in class ArrayFields
public Object getValues()
getValues
in class ArrayFields
public int arrayLength()
arrayLength
in class ArrayFields
public int getHeapSize()
Fields
getHeapSize
in class ArrayFields
public LongArrayFields clone()
public boolean equals(Object o)
Object
public void setLongValue(int pos, long newValue)
setLongValue
in class ArrayFields
public long getLongValue(int pos)
getLongValue
in class ArrayFields