> "Daniel John Debrunner" wrote: > Even using Double.toString() in itself creates an extra two objects . . .
Dan's right but interestingly, it is even more convoluted.
Double.toString() in Double.java is "public String toString() { return
String.valueOf(value);}
And then String.valueOf(value) in turn is "public static String
valueOf(double d) { return Double.toString(d);}
Which means it winds up calling the Double.toString(theValue) that you are
now going to call anyway.
