Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. public interface WaitingArrayInterface<T>{
  2.   public void add(T t);
  3.   public void remove() throws EmptyWaitingArrayException;
  4.   public void clear() throws EmptyWaitingArrayException;
  5.   public T getFirst() throws EmptyWaitingArrayException;
  6.   public T getLast() throws EmptyWaitingArrayException;
  7.   public boolean isEmpty();
  8.   public boolean isFull();
  9.   public String toString();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement