Skip to content

Instantly share code, notes, and snippets.

@zurche
Created June 6, 2018 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zurche/a45a7f5769bed030ecaa64a8c912322b to your computer and use it in GitHub Desktop.
Save zurche/a45a7f5769bed030ecaa64a8c912322b to your computer and use it in GitHub Desktop.
public interface StackActions {
int size();
boolean isEmpty();
void push(Object objectToPush);
Object pop() throws LinkedListEmptyException;
Object peek() throws LinkedListEmptyException;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment