public class PersistentQueue<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static PersistentQueue |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
PersistentQueue<T> |
add(T element) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
T |
peek() |
int |
size() |
PersistentQueue<T> |
skip() |
public static final PersistentQueue EMPTY
public int size()
public PersistentQueue<T> add(T element)
public boolean isEmpty()
public T peek()
public PersistentQueue<T> skip()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object