public class ObjectHistogramElement
extends java.lang.Object
Constructor and Description |
---|
ObjectHistogramElement(Klass k) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ObjectHistogramElement other) |
long |
getCount()
Number of instances of klass
|
java.lang.String |
getDescription()
Human readable description
|
Klass |
getKlass()
Klass for this ObjectHistogramElement
|
long |
getSize()
Total size of all these instances
|
void |
printOn(java.io.PrintStream tty) |
static void |
titleOn(java.io.PrintStream tty) |
void |
updateWith(Oop obj) |
public ObjectHistogramElement(Klass k)
public void updateWith(Oop obj)
public int compare(ObjectHistogramElement other)
public Klass getKlass()
public long getCount()
public long getSize()
public java.lang.String getDescription()
public static void titleOn(java.io.PrintStream tty)
public void printOn(java.io.PrintStream tty)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.