equal
deleted
inserted
replaced
108 } |
108 } |
109 |
109 |
110 public static void titleOn(PrintStream tty) { |
110 public static void titleOn(PrintStream tty) { |
111 tty.println("Object Histogram:"); |
111 tty.println("Object Histogram:"); |
112 tty.println(); |
112 tty.println(); |
113 tty.println("Size" + "\t" + "Count" + "\t" + "Class description"); |
113 tty.println("num " + "\t" + " #instances" + "\t" + "#bytes" + "\t" + "Class description"); |
114 tty.println("-------------------------------------------------------"); |
114 tty.println("--------------------------------------------------------------------------"); |
115 } |
115 } |
116 |
116 |
117 public void printOn(PrintStream tty) { |
117 public void printOn(PrintStream tty) { |
118 tty.print(size + "\t" + count + "\t"); |
118 tty.print(count + "\t" + size + "\t"); |
119 tty.print(getDescription()); |
119 tty.print(getDescription()); |
120 tty.println(); |
120 tty.println(); |
121 } |
121 } |
122 } |
122 } |