Skip to content

Instantly share code, notes, and snippets.

@zurche
Created June 6, 2018 22:22
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/bded444a878f393538a3148494bce09b to your computer and use it in GitHub Desktop.
Save zurche/bded444a878f393538a3148494bce09b to your computer and use it in GitHub Desktop.
public interface QueueActions {
boolean isEmpty();
void reset();
void enqueue(Object o);
Object first() throws EmptyQueueException;
Object dequeue() throws EmptyQueueException;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment