6.6.8.1.8.2. ObjectInfo

public class ObjectInfo

This class contains object info generated by ClassIntrospector tool

Author:© quasardb - 2014

6.6.8.1.8.2.1. Fields

6.6.8.1.8.2.1.1. arrayBase

public final int arrayBase

Offset of the first cell in the array

6.6.8.1.8.2.1.2. arrayElementSize

public final int arrayElementSize

Size of a cell in the array

6.6.8.1.8.2.1.3. arraySize

public final int arraySize

Memory occupied by underlying array (shallow), if this is array type

6.6.8.1.8.2.1.4. children

public final List<ObjectInfo> children

This object fields

6.6.8.1.8.2.1.5. contents

public final String contents

Field data formatted as string

6.6.8.1.8.2.1.6. length

public final int length

Memory occupied by this field

6.6.8.1.8.2.1.7. name

public final String name

Field name

6.6.8.1.8.2.1.8. offset

public final int offset

Field offset from the start of parent object

6.6.8.1.8.2.1.9. type

public final String type

Field type name

6.6.8.1.8.2.2. Constructors

6.6.8.1.8.2.2.1. ObjectInfo

public ObjectInfo(String name, String type, String contents, int offset, int length, int arraySize, int arrayBase, int arrayElementSize)

6.6.8.1.8.2.3. Methods

6.6.8.1.8.2.3.1. addChild

public void addChild(ObjectInfo info)

6.6.8.1.8.2.3.2. getDeepSize

public long getDeepSize()

Get the full amount of memory occupied by a given object. This value may be slightly less than an actual value because we don’t worry about memory alignment - possible padding after the last object field. The result is equal to the last field offset + last field length + all array sizes + all child objects deep sizes

Returns:Deep object size

6.6.8.1.8.2.3.3. sort

public void sort()

6.6.8.1.8.2.3.4. toString

public String toString()