Puoi postare la parte di codice?

Io ho fatto al volo queste righe ed il risultato è corretto...
codice:
        int indexes[] = new int[5];
        for ( int i = 0; i < indexes.length; i++ )
        {
            indexes[i] = 2 * i;
        }

        ArrayList<int[]> indici = new ArrayList<int[]>();
        indici.add(indexes);

        for ( int i = 0; i < indici.size(); i++ )
        {
            int[] temp = indici.get(i);
            for ( int j = 0; j < temp.length; j++ )
            {
                System.out.printf("temp[%d] = %d\n", j, temp[j]);
            }
        }