@@ -0,0 +1,569 @@
+/*%0A * This snippet show how shuffle a list%0A *%0A * compile: javac RandomShuffleList.java%0A * exec:    java RandomShuffleList%0A */%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0A%0Apublic class RandomShuffleList %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        // Build the initial list%0A        ArrayList%3CInteger%3E list = new ArrayList%3CInteger%3E(Arrays.asList(1, 2, 3, 4, 5));%0A%0A        // Shuffle the list%0A        java.util.Collections.shuffle(list);%0A%0A        // Show the list%0A        for(int val : list) %7B%0A            System.out.println(val);%0A        %7D%0A%0A    %7D%0A%7D%0A

Add a snippet (Java).