Class HistogramBuilder
java.lang.Object
org.eclipse.mat.snapshot.HistogramRecord
org.eclipse.mat.parser.internal.snapshot.HistogramBuilder
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.mat.snapshot.HistogramRecord
COMPARATOR_FOR_LABEL, COMPARATOR_FOR_NUMBEROFOBJECTS, COMPARATOR_FOR_RETAINEDHEAPSIZE, COMPARATOR_FOR_USEDHEAPSIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int classId, int objectId, long heapSize) void
put
(ClassHistogramRecord record) toHistogram
(SnapshotImpl snapshot, boolean isDefaultHistogram) Methods inherited from class org.eclipse.mat.snapshot.HistogramRecord
getLabel, getNumberOfObjects, getRetainedHeapSize, getUsedHeapSize, incNumberOfObjects, incNumberOfObjects, incRetainedHeapSize, incUsedHeapSize, reverseComparator, setLabel, setNumberOfObjects, setRetainedHeapSize, setUsedHeapSize
-
Constructor Details
-
HistogramBuilder
-
-
Method Details
-
put
-
add
public void add(int classId, int objectId, long heapSize) -
toHistogram
public Histogram toHistogram(SnapshotImpl snapshot, boolean isDefaultHistogram) throws SnapshotException - Throws:
SnapshotException
-