import java.util.*;

/*
 * Represents the table onto which we can deal cards. Cam also
 * pick up cards from table if there are any present.
 */

public class Table
{
    public Table (boolean debug)
    {
        _theTable = null;
        _debug = debug;
    }

    public boolean deal (Deck theDeck, int increment)
    {
        return false;
    }

    public Deck collectCards ()
    {
        if (_theTable == null)
            return null;

        Deck toReturn = new Deck(_theTable);

        _theTable = null; // make sure cards are only in one place at a time.

        return toReturn;
    }
    
    private Vector<Integer> _theTable;
    private boolean _debug;
}
@@ -328,19 +328,480 @@
     
-return fals
+int numberOfCards = theDeck.numberOfCards();%0A        int index = 0;%0A%0A        _theTable = new Vector%3CInteger%3E(theDeck.numberOfCards());%0A%0A        for (int i = 0; i %3C numberOfCards; i++)%0A        %7B%0A            if (_theTable.get(index) != null)%0A                return false;%0A%0A            _theTable.set(index, _theDeck.dealFromTop());%0A%0A            index += increment;%0A%0A            if (index %3E= numberOfCards)%0A                index -= numberOfCards;%0A        %7D%0A%0A        return tru
 e;%0A 
@@ -1057,20 +1057,16 @@
 ;%0A    %7D%0A
-    
 %0A    pri

Update Table.java