Created
November 1, 2012 19:49
-
-
Save ZachOrr/3996001 to your computer and use it in GitHub Desktop.
Emily Lockable (interface)
This file contains 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
interface Lockable { | |
int key = 0; | |
boolean locked = false; | |
void setKey(int key); | |
void lock(int key); | |
void unlock(int key); | |
boolean locked(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment