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
-
Method Summary
Methods inherited from class org.apache.jena.mem2.collection.HashCommonSet
addUnchecked, tryAdd
Methods inherited from class org.apache.jena.mem2.collection.HashCommonBase
anyMatch, containsKey, isEmpty, keyIterator, keySpliterator, removeUnchecked, size, 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.collection.JenaMapSetCommon
anyMatch, containsKey, isEmpty, keyIterator, keySpliterator, keyStream, keyStreamParallel, removeUnchecked, size, tryRemove
Methods 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:JenaMapSetCommon
Clear the collection.- Specified by:
clear
in interfaceJenaMapSetCommon<Triple>
-
isArray
public boolean isArray()Description copied from interface:TripleBunch
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 interfaceTripleBunch
- Returns:
- true iff this bunch is implemented as an arrays
-
copy
- Specified by:
copy
in interfaceorg.apache.jena.atlas.lib.Copyable<TripleBunch>
-