java.lang.Object
org.apache.jena.mem2.collection.HashCommonBase<K>
org.apache.jena.mem2.collection.HashCommonSet<Triple>
org.apache.jena.mem2.store.legacy.HashedTripleBunch
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Copyable<TripleBunch>,JenaMapSetCommon<Triple>,JenaSet<Triple>,TripleBunch
A bunch of triples, implemented as a set of triples.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.mem2.collection.HashCommonSet
addUnchecked, tryAddMethods inherited from class org.apache.jena.mem2.collection.HashCommonBase
anyMatch, containsKey, isEmpty, keyIterator, keySpliterator, removeUnchecked, size, tryRemoveMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.mem2.collection.JenaMapSetCommon
anyMatch, containsKey, isEmpty, keyIterator, keySpliterator, keyStream, keyStreamParallel, removeUnchecked, size, tryRemoveMethods inherited from interface org.apache.jena.mem2.collection.JenaSet
addUnchecked, tryAdd
-
Constructor Details
-
HashedTripleBunch
public HashedTripleBunch()
-
-
Method Details
-
clear
public void clear()Description copied from interface:JenaMapSetCommonClear the collection.- Specified by:
clearin interfaceJenaMapSetCommon<Triple>
-
isArray
public boolean isArray()Description copied from interface:TripleBunchAnswer 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 interfaceTripleBunch- Returns:
- true iff this bunch is implemented as an arrays
-
copy
- Specified by:
copyin interfaceorg.apache.jena.atlas.lib.Copyable<TripleBunch>
-