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 void
close()
java.util.Iterator<E>
iterator()
boolean
offer(E e)
E
peek()
E
peekLast()
E
poll()
int
size()
-
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:
offer
in interfacejava.util.Queue<E extends java.io.Serializable>
-
poll
public E poll()
- Specified by:
poll
in interfacejava.util.Queue<E extends java.io.Serializable>
-
peek
public E peek()
- Specified by:
peek
in 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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-