Top Description Methods
org.eclipse.jgit.lib

public Interface ObjectIdSet

Known Direct Subinterfaces
org.eclipse.jgit.internal.storage.file.PackIndex
Known Direct Implementers
org.eclipse.jgit.lib.ObjectIdSubclassMap, org.eclipse.jgit.internal.storage.file.LazyObjectIdSetFile, org.eclipse.jgit.lib.ObjectIdOwnerMap

Simple set of ObjectIds.

Usually backed by a read-only data structure such as org.eclipse.jgit.internal.storage.file.PackIndex. Mutable types like org.eclipse.jgit.lib.ObjectIdOwnerMap also implement the interface by checking keys.

Since
4.2

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

whether the collection contains the objectId.
contains
(AnyObjectId
the objectId to find
objectId
)

Returns true if the objectId is contained within the collection.

Method Detail

containsback to summary
public boolean contains(AnyObjectId objectId)

Returns true if the objectId is contained within the collection.

Parameters
objectId:AnyObjectId

the objectId to find

Returns:boolean

whether the collection contains the objectId.