Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Michael Lee
- // Section AP
- // Tuesday, April 14, 2015
- // Sample program: Deck.java
- import java.util.List;
- interface Deck {
- public int size();
- public boolean isEmpty();
- public String dealCard();
- public Deck dealCards(int amount);
- public void addCard(String card);
- public void mergeDeck(Deck other);
- public void shuffle();
- public List<String> toList();
- public String toString();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement