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
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
sizein interfaceCollection<V>- Specified by:
sizein classAbstractCollection<V>
-
offer
-
peek
-
poll
-
iterator
- Specified by:
iteratorin interfaceCollection<V>- Specified by:
iteratorin interfaceIterable<V>- Specified by:
iteratorin classAbstractCollection<V>
-