Class OrderIterator.SerializedQueue<E extends java.io.Serializable>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.OrderIterator.SerializedQueue<E>
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.Queue<E>
- Enclosing class:
- OrderIterator
private static class OrderIterator.SerializedQueue<E extends java.io.Serializable> extends java.util.AbstractQueue<E> implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description SerializedQueue(java.lang.String prefix)SerializedQueue(java.lang.String prefix, java.io.File directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.util.Iterator<E>iterator()booleanoffer(E e)Epeek()EpeekLast()Epoll()intsize()-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
peekLast
public E peekLast()
-
offer
public boolean offer(E e)
- Specified by:
offerin interfacejava.util.Queue<E extends java.io.Serializable>
-
poll
public E poll()
- Specified by:
pollin interfacejava.util.Queue<E extends java.io.Serializable>
-
peek
public E peek()
- Specified by:
peekin interfacejava.util.Queue<E extends java.io.Serializable>
-
iterator
public java.util.Iterator<E> iterator()
-
size
public int size()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-