Advertisement
Guest User

Untitled

a guest
May 25th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. // Michael Lee
  2. // Section AP
  3. // Tuesday, April 14, 2015
  4. // Sample program: Deck.java
  5.  
  6. import java.util.List;
  7.  
  8. interface Deck {
  9. public int size();
  10. public boolean isEmpty();
  11.  
  12. public String dealCard();
  13. public Deck dealCards(int amount);
  14.  
  15. public void addCard(String card);
  16. public void mergeDeck(Deck other);
  17.  
  18. public void shuffle();
  19.  
  20. public List<String> toList();
  21. public String toString();
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement