Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package list;
- import java.util.NoSuchElementException;
- public interface Queue<E> {
- void enqueue(E element);
- E dequeue() throws NoSuchElementException;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement