Created
April 15, 2015 09:31
-
-
Save Michael0x2a/206c4187b4770a468c08 to your computer and use it in GitHub Desktop.
Deck.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment