Package org.eclipse.jgit.lib
Interface ObjectIdSet
- All Known Implementing Classes:
LazyObjectIdSetFile
,ObjectIdOwnerMap
,ObjectIdSubclassMap
,PackIndex
,PackIndexV1
,PackIndexV2
public interface ObjectIdSet
Simple set of ObjectIds.
Usually backed by a read-only data structure such as
PackIndex
. Mutable types like
ObjectIdOwnerMap
also implement the interface by
checking keys.
- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(AnyObjectId objectId) Returns true if the objectId is contained within the collection.
-
Method Details
-
contains
Returns true if the objectId is contained within the collection.- Parameters:
objectId
- the objectId to find- Returns:
- whether the collection contains the objectId.
-