Empty CardList object in Java
<p>I have a slight problem right now.</p>

<p>Currently I have two classes. One called CardList and another called Trick.
The CardList is what it sounds like, it is an object that declares itself as an arraylist and had multiple methods in it one that is add. Trick is supposed to be an CardList and extends the CardList class.</p>

<pre><code>private CardList aTrick;
private Suit trumpSuit;

public Trick(Bid pContract)
{   
    aTrick = new CardList();
    this.trumpSuit = pContract.getSuit();
}
</code></pre>

<p>At the moment, whenever I use the add method within Trick, the CardList remains empty.</p>

<p>For example.</p>

<pre><code>trick = new Trick(new Bid(7, Card.Suit.HEARTS));
trick.add(aJD);
</code></pre>

<p>The list remains empty.
Any help would be appreciated.</p>

<p>The add method is within the CardList class.
All it does is add cards normally to an arrayList. Nothing special.</p>
