public class BooleanArrayFields extends ArrayFields
fieldAttrs, objectAttr| Constructor and Description |
|---|
BooleanArrayFields(int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(IntVector v) |
int |
arrayLength() |
boolean[] |
asBooleanArray() |
BooleanArrayFields |
clone() |
boolean |
equals(Object o)
we check for type and equal element values
|
boolean |
getBooleanValue(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.
|
Object |
getValues() |
void |
hash(HashData hd) |
protected void |
printValue(PrintStream ps,
int idx) |
void |
setBooleanValue(int pos,
boolean v) |
asByteArray, asCharArray, asCharArray, asDoubleArray, asFieldSlots, asFloatArray, asIntArray, asLongArray, asReferenceArray, asShortArray, getByteValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getNumberOfFields, getReferenceValue, getShortValue, isReferenceArray, printElements, setByteValue, setCharValue, setDoubleValue, 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, setObjectAttrprotected void printValue(PrintStream ps, int idx)
printValue in class ArrayFieldspublic boolean[] asBooleanArray()
asBooleanArray in class ArrayFieldspublic Object getValues()
getValues in class ArrayFieldspublic int arrayLength()
arrayLength in class ArrayFieldspublic int getHeapSize()
FieldsgetHeapSize in class ArrayFieldspublic boolean equals(Object o)
public BooleanArrayFields clone()
public boolean getBooleanValue(int pos)
getBooleanValue in class ArrayFieldspublic void setBooleanValue(int pos,
boolean v)
setBooleanValue in class ArrayFields