Class RecordIdSet
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.RecordIdSet
-
-
Constructor Summary
Constructors Constructor Description RecordIdSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddIfNotPresent(RecordId id)Addidto this set if not already presentbooleancontains(RecordId id)Check whetheridis present is this set.
-
-
-
Method Detail
-
addIfNotPresent
public boolean addIfNotPresent(RecordId id)
Addidto this set if not already present- Parameters:
id- the record id to add- Returns:
trueif added,falseif already present
-
contains
public boolean contains(RecordId id)
Check whetheridis present is this set.- Parameters:
id- the record id to check for- Returns:
trueiffidis present.
-
-