update,
This commit is contained in:
7
_resources/it114105/itp4510/Lab03/Lab3.3/Queue.java
Normal file
7
_resources/it114105/itp4510/Lab03/Lab3.3/Queue.java
Normal file
@@ -0,0 +1,7 @@
|
||||
public interface Queue {
|
||||
public abstract boolean isEmpty();
|
||||
public abstract int size();
|
||||
public abstract Object front() throws QueueEmptyException;
|
||||
public abstract void enqueue(Object item) throws QueueFullException;
|
||||
public abstract Object dequeue() throws QueueEmptyException;
|
||||
}
|
Reference in New Issue
Block a user