
We are now accepting nominations for our award "Biggest Java Annoyance". Contribution 1 by Sofie : toString of an array produces something like "[D@89ec59" instead of calling toString of each element in the array. (I admit, this would be disastrous for big arrays, but still)

The class Arrays to the rescue Arrays.toString(array); or if each element in the array is another array Arrays.deepToString(array); don't do this with high dimensional matrices Sofie Van Landeghem wrote:
We are now accepting nominations for our award "Biggest Java Annoyance".
Contribution 1 by Sofie : toString of an array produces something like "[D@89ec59" instead of calling toString of each element in the array.
(I admit, this would be disastrous for big arrays, but still)
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
participants (2)
-
Sofie Van Landeghem
-
Thomas Abeel