public abstract class AbstractArrayImpl extends AbstractObjectImpl implements IArray
IObject.Type
Constructor and Description |
---|
AbstractArrayImpl(int objectId,
long address,
ClassImpl classInstance,
int length)
Construct a general object, called from subclass.
|
Modifier and Type | Method and Description |
---|---|
Object |
getInfo()
Gets the cached information about the contents of the array.
|
int |
getLength()
Returns the length of the array in elements.
|
String |
getTechnicalName()
Get technical name of this object which is something like class@address.
|
void |
setInfo(Object content)
Sets the cached information about the contents of the array.
|
void |
setLength(int i)
Sets the length in elements.
|
equals, getClassAddress, getClassId, getClassSpecificName, getClazz, getComparatorForClassSpecificName, getComparatorForTechnicalName, getComparatorForUsedHeapSize, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getReferences, getRetainedHeapSize, getSnapshot, getUsedHeapSize, hashCode, resolveValue, setClassInstance, setObjectAddress, setObjectId, setSnapshot, toString
getClassSpecificName, getClazz, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getOutboundReferences, getRetainedHeapSize, getSnapshot, getUsedHeapSize, resolveValue
public AbstractArrayImpl(int objectId, long address, ClassImpl classInstance, int length)
objectId
- the index of the objectaddress
- the actual addressclassInstance
- the type of the objectlength
- the length of the array in elementspublic Object getInfo()
public void setInfo(Object content)
public int getLength()
IArray
public void setLength(int i)
i
- the new lengthpublic String getTechnicalName()
IObject
getTechnicalName
in interface IObject
getTechnicalName
in class AbstractObjectImpl