Package org.eclipse.mat.snapshot.model
Interface IObjectArray
- All Superinterfaces:
IArray
,IObject
,Serializable
- All Known Implementing Classes:
ObjectArrayImpl
Marker interface to represent object arrays in the heap dump.
- No Implement:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.mat.snapshot.model.IObject
IObject.Type
-
Method Summary
Modifier and TypeMethodDescriptionlong[]
Get an array with the object addresses.long[]
getReferenceArray
(int offset, int length) Get an array with the object addresses, beginning atoffset
andlength
number of elements.Methods inherited from interface org.eclipse.mat.snapshot.model.IObject
getClassSpecificName, getClazz, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getOutboundReferences, getRetainedHeapSize, getSnapshot, getTechnicalName, getUsedHeapSize, resolveValue
-
Method Details
-
getReferenceArray
long[] getReferenceArray()Get an array with the object addresses. 0 indicatesnull
values in the array.- Returns:
- the addresses of the objects held in the array, in index order
-
getReferenceArray
long[] getReferenceArray(int offset, int length) Get an array with the object addresses, beginning atoffset
andlength
number of elements.- Parameters:
offset
- where to startlength
- how many entries to return- Returns:
- the addresses of the objects held in the array, in index order from the index starting at offset, with length entries
-