Class RecordIdSet
java.lang.Object
org.apache.jackrabbit.oak.segment.RecordIdSet
A memory optimised set of
RecordIds.
The set doesn't keep references to the actual record ids
it contains.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAddidto this set if not already presentbooleanCheck whetheridis present is this set.
-
Constructor Details
-
RecordIdSet
public RecordIdSet()
-
-
Method Details
-
addIfNotPresent
Addidto this set if not already present- Parameters:
id- the record id to add- Returns:
trueif added,falseif already present
-
contains
Check whetheridis present is this set.- Parameters:
id- the record id to check for- Returns:
trueiffidis present.
-