Exemplo n.º 1
0
 public void discard(Cards<Card> chosen) {
   if (chosen.contains(null)) throw new IllegalArgumentException(chosen.toString());
   discardPile.add(chosen);
 }