public class DoubleArrayFields extends ArrayFields
fieldAttrs, objectAttr| Constructor and Description |
|---|
DoubleArrayFields(int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(IntVector v) |
int |
arrayLength() |
double[] |
asDoubleArray() |
DoubleArrayFields |
clone() |
void |
copyElements(ArrayFields src,
int srcPos,
int dstPos,
int len) |
boolean |
equals(java.lang.Object o) |
double |
getDoubleValue(int pos) |
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.
|
java.lang.Object |
getValues() |
void |
hash(HashData hd) |
protected void |
printValue(java.io.PrintStream ps,
int idx) |
void |
setDoubleValue(int pos,
double newValue) |
asBooleanArray, asByteArray, asCharArray, asCharArray, asFieldSlots, asFloatArray, asIntArray, asLongArray, asReferenceArray, asShortArray, getBooleanValue, getByteValue, getCharValue, getFloatValue, getIntValue, getLongValue, getNumberOfFields, getReferenceValue, getShortValue, isReferenceArray, printElements, setBooleanValue, setByteValue, setCharValue, setFloatValue, setIntValue, setLongValue, setReferenceValue, setShortValueaddFieldAttr, 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, setObjectAttrpublic double[] asDoubleArray()
asDoubleArray in class ArrayFieldspublic void copyElements(ArrayFields src, int srcPos, int dstPos, int len)
copyElements in class ArrayFieldsprotected void printValue(java.io.PrintStream ps,
int idx)
printValue in class ArrayFieldspublic java.lang.Object getValues()
getValues in class ArrayFieldspublic int arrayLength()
arrayLength in class ArrayFieldspublic int getHeapSize()
FieldsgetHeapSize in class ArrayFieldspublic DoubleArrayFields clone()
public void setDoubleValue(int pos,
double newValue)
setDoubleValue in class ArrayFieldspublic double getDoubleValue(int pos)
getDoubleValue in class ArrayFields