com.jrockit.memleak
Interface IArraySizeInfo

All Superinterfaces:
java.lang.Comparable<IArraySizeInfo>
All Known Implementing Classes:
ArraySizeInfo

public interface IArraySizeInfo
extends java.lang.Comparable<IArraySizeInfo>

Holds information about arrays on the heap and their sizes.

Author:
Markus Persson

Field Summary
static IArraySizeInfo[] EMPTY_ARRAY
          An empty IArraySizeInfo array.
 
Method Summary
 IArrayInfo getArrayInfo()
           
 long getSize()
          Returns the size of the array in bytes.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

EMPTY_ARRAY

static final IArraySizeInfo[] EMPTY_ARRAY
An empty IArraySizeInfo array.

Method Detail

getArrayInfo

IArrayInfo getArrayInfo()
Returns:
the array info

getSize

long getSize()
Returns the size of the array in bytes.

Returns:
#bytes


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.