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
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 TypeMethodDescriptionvoid
addUnchecked
(E key, int hashCode) void
removeUnchecked
(E key, int hashCode) boolean
boolean
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
-
Method Details
-
tryAdd
-
addUnchecked
-
tryRemove
-
removeUnchecked
-