public class MemoryFileBackedQueue<E> extends AbstractQueue<E>
| Constructor and Description |
|---|
MemoryFileBackedQueue() |
MemoryFileBackedQueue(int threshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Iterator<E> |
iterator() |
boolean |
offer(E e) |
E |
peek() |
E |
poll() |
int |
size() |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringpublic MemoryFileBackedQueue()
throws IOException
IOExceptionpublic MemoryFileBackedQueue(int threshold)
throws IOException
IOExceptionpublic boolean offer(E e)
public E poll()
public E peek()
public int size()
size in interface Collection<E>size in class AbstractCollection<E>public Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in class AbstractCollection<E>public void destroy()
Copyright © 2015. All Rights Reserved.