Class MapDb3CollectionFactory.MemoryTillSizeXQueue<V>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<V>
-
- org.eclipse.rdf4j.collection.factory.mapdb.MapDb3CollectionFactory.MemoryTillSizeXQueue<V>
-
- Type Parameters:
T
- of the contents of the set.
- All Implemented Interfaces:
Iterable<V>
,Collection<V>
,Queue<V>
- Enclosing class:
- MapDb3CollectionFactory
protected class MapDb3CollectionFactory.MemoryTillSizeXQueue<V> extends AbstractQueue<V>
Only create a disk based set once the contents are large enough that it starts to pay off.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<V>
iterator()
boolean
offer(V e)
V
peek()
V
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
-
Methods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceCollection<V>
- Specified by:
size
in classAbstractCollection<V>
-
offer
public boolean offer(V e)
-
peek
public V peek()
-
poll
public V poll()
-
-