class GHIntArrayList extends IntArrayList {

    public final GHIntArrayList shuffle(Random random) {
        int[] buffer = this.buffer;
        int max = size();
        int maxHalf = max / 2;
        for (int x1 = 0; x1 < maxHalf; x1++) {
            int x2 = random.nextInt(maxHalf) + maxHalf;
            int tmp = buffer[x1];
            buffer[x1] = buffer[x2];
            buffer[x2] = tmp;
        }
        return this;
    }

    public  GHIntArrayList();
    public  GHIntArrayList(int capacity);
    public  GHIntArrayList(GHIntArrayList list);

}