Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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