E - type of stack entries@ThreadSafe
public interface Queue<E>
| Modifier and Type | Method and Description |
|---|---|
void |
add(E element)
Add element to the tail of queue.
|
E |
get()
Get element from head of queue.
|
boolean |
isEmpty()
Check if queue is empty.
|
Copyright © 2014 Sven Strittmatter. All Rights Reserved.