public String toString(){
  StringBuffer buf=new StringBuffer();
  buf.append("init = " + init + "("+ (init >> 10)+ "K) ");
  buf.append("used = " + used + "("+ (used >> 10)+ "K) ");
  buf.append("committed = " + committed + "("+ (committed >> 10)+ "K) ");
  buf.append("max = " + max + "("+ (max >> 10)+ "K)");
  return buf.toString();
}

public String toString ( ) { StringBuffer buf = new StringBuffer ( ) ; buf . append ( "init = " + init + "(" + ( init > > 10 ) + "K) " ) ; buf . append ( "used = " + used + "(" + ( used > > 10 ) + "K) " ) ; buf . append ( "committed = " + committed + "(" + ( committed > > 10 ) + "K) " ) ; buf . append ( "max = " + max + "(" + ( max > > 10 ) + "K)" ) ; return buf . toString ( ) ; }
returns a descriptive representation of this memory usage .
