public String getValue() { return getTypeValue().toString(); }
public Object get(int index) { return HprofInstanceValue.getTypeValue(dumpBuffer, offset + ((long)index * (long)elSize), type).toString(); }
Object getTypeValue() { byte type = field.getValueType(); HprofByteBuffer dumpBuffer = instance.dumpClass.getHprofBuffer(); return getTypeValue(dumpBuffer, fileOffset, type); }
Object getTypeValue() { HprofByteBuffer dumpBuffer = classDump.getHprofBuffer(); long position = fileOffset + classDump.classDumpSegment.fieldTypeOffset; byte type = dumpBuffer.get(position); return HprofInstanceValue.getTypeValue(dumpBuffer, position + 1, type); } }
public Object getValueOfField(String name) { Iterator<FieldValue> fIt = getFieldValues().iterator(); FieldValue matchingFieldValue = null; while (fIt.hasNext()) { FieldValue fieldValue = (FieldValue) fIt.next(); if (fieldValue.getField().getName().equals(name)) { matchingFieldValue = fieldValue; } } if (matchingFieldValue == null) { return null; } if (matchingFieldValue instanceof HprofInstanceObjectValue) { return ((HprofInstanceObjectValue) matchingFieldValue).getInstance(); } else { return ((HprofInstanceValue) matchingFieldValue).getTypeValue(); } }
public String getValue() { return getTypeValue().toString(); }
public Object get(int index) { return HprofInstanceValue.getTypeValue(dumpBuffer, offset + ((long)index * (long)elSize), type).toString(); }
public Object get(int index) { return HprofInstanceValue.getTypeValue(dumpBuffer, offset + ((long)index * (long)elSize), type).toString(); }
public String getValue() { return getTypeValue().toString(); }
Object getTypeValue() { byte type = field.getValueType(); HprofByteBuffer dumpBuffer = instance.dumpClass.getHprofBuffer(); return getTypeValue(dumpBuffer, fileOffset, type); }
Object getTypeValue() { HprofByteBuffer dumpBuffer = classDump.getHprofBuffer(); long position = fileOffset + classDump.classDumpSegment.fieldTypeOffset; byte type = dumpBuffer.get(position); return HprofInstanceValue.getTypeValue(dumpBuffer, position + 1, type); } }
Object getTypeValue() { HprofByteBuffer dumpBuffer = classDump.getHprofBuffer(); long position = fileOffset + classDump.classDumpSegment.fieldTypeOffset; byte type = dumpBuffer.get(position); return HprofInstanceValue.getTypeValue(dumpBuffer, position + 1, type); } }
Object getTypeValue() { byte type = field.getValueType(); HprofByteBuffer dumpBuffer = instance.dumpClass.getHprofBuffer(); return getTypeValue(dumpBuffer, fileOffset, type); }
public Object getValueOfField(String name) { Iterator fIt = getFieldValues().iterator(); FieldValue matchingFieldValue = null; while (fIt.hasNext()) { FieldValue fieldValue = (FieldValue) fIt.next(); if (fieldValue.getField().getName().equals(name)) { matchingFieldValue = fieldValue; } } if (matchingFieldValue == null) { return null; } if (matchingFieldValue instanceof HprofInstanceObjectValue) { return ((HprofInstanceObjectValue) matchingFieldValue).getInstance(); } else { return ((HprofInstanceValue) matchingFieldValue).getTypeValue(); } }
public Object getValueOfField(String name) { Iterator<FieldValue> fIt = getFieldValues().iterator(); FieldValue matchingFieldValue = null; while (fIt.hasNext()) { FieldValue fieldValue = (FieldValue) fIt.next(); if (fieldValue.getField().getName().equals(name)) { matchingFieldValue = fieldValue; } } if (matchingFieldValue == null) { return null; } if (matchingFieldValue instanceof HprofInstanceObjectValue) { return ((HprofInstanceObjectValue) matchingFieldValue).getInstance(); } else { return ((HprofInstanceValue) matchingFieldValue).getTypeValue(); } }