Class MapDb3CollectionFactory.MemoryTillSizeXQueue<V>
java.lang.Object
java.util.AbstractCollection<V>
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
Only create a disk based set once the contents are large enough that it starts to pay off.
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
MemoryTillSizeXQueue
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<V>
- Specified by:
size
in classAbstractCollection<V>
-
offer
-
peek
-
poll
-
iterator
- Specified by:
iterator
in interfaceCollection<V>
- Specified by:
iterator
in interfaceIterable<V>
- Specified by:
iterator
in classAbstractCollection<V>
-