Class RecordIdSet
java.lang.Object
org.apache.jackrabbit.oak.segment.RecordIdSet
A memory optimised set of
RecordId
s.
The set doesn't keep references to the actual record ids
it contains.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Addid
to this set if not already presentboolean
Check whetherid
is present is this set.
-
Constructor Details
-
RecordIdSet
public RecordIdSet()
-
-
Method Details
-
addIfNotPresent
Addid
to this set if not already present- Parameters:
id
- the record id to add- Returns:
true
if added,false
if already present
-
contains
Check whetherid
is present is this set.- Parameters:
id
- the record id to check for- Returns:
true
iffid
is present.
-