public static void main(String[] args) {

        int len = 10;
        Array<Integer> arr = new Array<Integer>(len);
        for (int i = 0; i < len; ++i) {
            arr.append(i);
        }
        System.out.println(arr);
        for (int i = 0; i < len; ++i) {
            System.out.println("Random #" + i + ": " + Array.random(arr));
        }

    }