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