From Sun\'s Java Tutorial, I would have thought this code would convert a set into an array.
import java.util.*; public class Blagh { public static void mai
for the sake of completeness check also java.util.Arrays.toString and java.util.Arrays.deepToString.
The latter is particularly useful when dealing with nested arrays (like Object[][]).