Skip to content

Instantly share code, notes, and snippets.

@ZachOrr
Created November 1, 2012 19:49
Show Gist options
  • Save ZachOrr/3996001 to your computer and use it in GitHub Desktop.
Save ZachOrr/3996001 to your computer and use it in GitHub Desktop.
Emily Lockable (interface)
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