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
.-
Constructor Summary
ConstructorDescriptionCreate 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, tryAdd, tryAdd
Methods inherited from class org.apache.jena.mem2.collection.FastHashBase
anyMatch, anyMatchRandomOrder, clear, containsKey, isEmpty, keyIterator, keySpliterator, removeAndGetIndex, removeAndGetIndex, removeUnchecked, removeUnchecked, size, tryRemove, tryRemove
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.mem2.store.fast.FastTripleBunch
anyMatchRandomOrder
Methods inherited from interface org.apache.jena.mem2.collection.JenaMapSetCommon
anyMatch, clear, containsKey, isEmpty, keyIterator, keySpliterator, keyStream, keyStreamParallel, removeUnchecked, size, tryRemove
Methods inherited from interface org.apache.jena.mem2.collection.JenaSet
addUnchecked, tryAdd
Methods 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:FastTripleBunch
Answer 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:
isArray
in interfaceFastTripleBunch
- Returns:
- true iff this bunch is implemented as an arrays
-
copy
- Specified by:
copy
in interfaceorg.apache.jena.atlas.lib.Copyable<FastTripleBunch>
-