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