import java.util.Random;

public class Shuffle
{

    public static void main (String args[])
    {
	Random randCard = new Random();
	boolean finished = false;

	initialiseSuite(_hearts);
	initialiseSuite(_spades);
	initialiseSuite(_clubs);
	initialiseSuite(_diamonds);

	while (!finished)
	{
	    int theSuite = randSuite.nextInt(3);

	    switch (theSuite)
	    {
	    case 0:
		break;
	    default:
		break;
	    }
	}
    }

    private int getCard (int[] suite)
    {
	
    }

    private void initialiseSuite (int[] suite)
    {
	for (int i = 0; i < suite.length(); i++)
	{
	    if (i == 0)
		suite[i] = 11;
	    else
	    {
		if (i >= 10)
		    suite[i] = 10;
		else
		    suite[i] = i;
	    }
	}
    }

    private Random _randSuite = new Random();

    // hack!!

    private int[] _hearts = new int[13];
    private int _heartsLeft = 13;
    private int[] _spades = new int[13];
    private int _spadesLeft = 13;
    private int[] _clubs = new int[13];
    private int _clubsLeft = 13;
    private int[] _diamonds = new int[13];
    private int _diamondsLeft = 13;
}
@@ -97,41 +97,8 @@
   %7B%0A
-%09Random randCard = new Random();%0A
 %09boo
@@ -424,25 +424,90 @@
 %5B%5D suite
-)%0A    %7B%0A%09
+, int left)%0A    %7B%0A%09for (;;)%0A%09%7B%0A%09    int theCard = randCard.nextInt(13);%0A%09%7D
 %0A    %7D%0A%0A
@@ -780,16 +780,60 @@
 andom();
+%0A    private Random randCard = new Random();
 %0A%0A    //

Update Shuffle.java