public class FileBackedQueue<E> extends AbstractQueue<E>
| Constructor and Description |
|---|
FileBackedQueue() |
FileBackedQueue(String filename) |
| 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 FileBackedQueue()
throws IOException
IOExceptionpublic FileBackedQueue(String filename) throws IOException
IOExceptionpublic int size()
size in interface Collection<E>size in class AbstractCollection<E>public E poll()
public void destroy()
public boolean offer(E e)
public E peek()
Copyright © 2014. All Rights Reserved.