Module org.apache.jena.core
Package org.apache.jena.mem2.collection
Interface JenaSetHashOptimized<E>
- All Superinterfaces:
JenaMapSetCommon<E>,JenaSet<E>
- All Known Subinterfaces:
FastTripleBunch
- All Known Implementing Classes:
FastArrayBunch,FastHashedTripleBunch,FastHashSet,TripleSet
Extension of
JenaSet that allows to add and remove elements
with a given hash code.
This is useful if the hash code is already known.
Attention: The hash code must be consistent with E::hashCode().-
Method Summary
Modifier and TypeMethodDescriptionvoidaddUnchecked(E key, int hashCode) voidremoveUnchecked(E key, int hashCode) booleanbooleanMethods 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, tryAdd
-
Method Details
-
tryAdd
-
addUnchecked
-
tryRemove
-
removeUnchecked
-