Class LazyObjectIdSetFile
java.lang.Object
org.eclipse.jgit.internal.storage.file.LazyObjectIdSetFile
- All Implemented Interfaces:
ObjectIdSet
Lazily loads a set of ObjectIds, one per line.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(AnyObjectId objectId) Returns true if the objectId is contained within the collection.load()
-
Field Details
-
src
-
set
-
-
Constructor Details
-
LazyObjectIdSetFile
Create a new lazy set from a file.- Parameters:
src- the source file.
-
-
Method Details
-
contains
Returns true if the objectId is contained within the collection.- Specified by:
containsin interfaceObjectIdSet- Parameters:
objectId- the objectId to find- Returns:
- whether the collection contains the objectId.
-
load
-