|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.parser.model.AbstractObjectImpl
org.eclipse.mat.parser.model.AbstractArrayImpl
public abstract class AbstractArrayImpl
The general implementation of any Java array object (primitive array, object array).
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.mat.snapshot.model.IObject |
---|
IObject.Type |
Constructor Summary | |
---|---|
AbstractArrayImpl(int objectId,
long address,
ClassImpl classInstance,
int length)
Construct a general object, called from subclass. |
Method Summary | |
---|---|
java.lang.Object |
getInfo()
Gets the cached information about the contents of the array. |
int |
getLength()
Returns the length of the array in elements. |
java.lang.String |
getTechnicalName()
Get technical name of this object which is something like class@address. |
void |
setInfo(java.lang.Object content)
Sets the cached information about the contents of the array. |
void |
setLength(int i)
Sets the length in elements. |
Methods inherited from class org.eclipse.mat.parser.model.AbstractObjectImpl |
---|
equals, getClassAddress, getClassId, getClassSpecificName, getClazz, getComparatorForClassSpecificName, getComparatorForTechnicalName, getComparatorForUsedHeapSize, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getReferences, getRetainedHeapSize, getSnapshot, getUsedHeapSize, hashCode, resolveValue, setClassInstance, setObjectAddress, setObjectId, setSnapshot, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.mat.snapshot.model.IObject |
---|
getClassSpecificName, getClazz, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getOutboundReferences, getRetainedHeapSize, getSnapshot, getUsedHeapSize, resolveValue |
Constructor Detail |
---|
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 elementsMethod Detail |
---|
public java.lang.Object getInfo()
public void setInfo(java.lang.Object content)
public int getLength()
IArray
getLength
in interface IArray
public void setLength(int i)
i
- the new lengthpublic java.lang.String getTechnicalName()
IObject
getTechnicalName
in interface IObject
getTechnicalName
in class AbstractObjectImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |