java.lang.Object
org.apache.jena.mem2.collection.FastHashBase<K>
org.apache.jena.mem2.collection.FastHashSet<Triple>
org.apache.jena.mem2.store.fast.FastHashedTripleBunch
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Copyable<FastTripleBunch>,JenaMapSetCommon<Triple>,JenaSet<Triple>,JenaSetHashOptimized<Triple>,FastTripleBunch
A set of triples - backed by
FastHashSet.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.mem2.collection.FastHashSet
FastHashSet.IndexedKey<K> -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new triple bunch from the given set of triples. -
Method Summary
Methods inherited from class org.apache.jena.mem2.collection.FastHashSet
addAndGetIndex, addAndGetIndex, addUnchecked, addUnchecked, getKeyAt, indexedKeyIterator, indexedKeySpliterator, indexedKeyStream, indexedKeyStreamParallel, tryAdd, tryAddMethods inherited from class org.apache.jena.mem2.collection.FastHashBase
anyMatch, anyMatchRandomOrder, clear, containsKey, isEmpty, keyIterator, keySpliterator, removeAndGetIndex, removeAndGetIndex, removeUnchecked, removeUnchecked, size, tryRemove, tryRemoveMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.mem2.store.fast.FastTripleBunch
anyMatchRandomOrderMethods inherited from interface org.apache.jena.mem2.collection.JenaMapSetCommon
anyMatch, clear, containsKey, isEmpty, keyIterator, keySpliterator, keyStream, keyStreamParallel, removeUnchecked, size, tryRemoveMethods inherited from interface org.apache.jena.mem2.collection.JenaSet
addUnchecked, tryAddMethods inherited from interface org.apache.jena.mem2.collection.JenaSetHashOptimized
addUnchecked, removeUnchecked, tryAdd, tryRemove
-
Constructor Details
-
FastHashedTripleBunch
Create a new triple bunch from the given set of triples.- Parameters:
set- the set of triples
-
FastHashedTripleBunch
public FastHashedTripleBunch()
-
-
Method Details
-
isArray
public boolean isArray()Description copied from interface:FastTripleBunchAnswer true iff this bunch is implemented as an array. This field is used to optimize some operations by avoiding the need for instanceOf tests.- Specified by:
isArrayin interfaceFastTripleBunch- Returns:
- true iff this bunch is implemented as an arrays
-
copy
- Specified by:
copyin interfaceorg.apache.jena.atlas.lib.Copyable<FastTripleBunch>
-