public class LimitedQueue<E>
extends java.lang.Object
Constructor and Description |
---|
LimitedQueue(int limit) |
Modifier and Type | Method and Description |
---|---|
void |
add(E element) |
boolean |
contains(E element) |
java.util.List<E> |
getAllElements() |
boolean |
isEmpty() |
int |
size() |