Class LazyObjectIdSetFile
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.file.LazyObjectIdSetFile
-
- All Implemented Interfaces:
ObjectIdSet
public class LazyObjectIdSetFile extends Object implements ObjectIdSet
Lazily loads a set of ObjectIds, one per line.
-
-
Constructor Summary
Constructors Constructor Description LazyObjectIdSetFile(File src)
Create a new lazy set from a file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(AnyObjectId objectId)
Returns true if the objectId is contained within the collection.
-
-
-
Constructor Detail
-
LazyObjectIdSetFile
public LazyObjectIdSetFile(File src)
Create a new lazy set from a file.- Parameters:
src
- the source file.
-
-
Method Detail
-
contains
public boolean contains(AnyObjectId objectId)
Returns true if the objectId is contained within the collection.- Specified by:
contains
in interfaceObjectIdSet
- Parameters:
objectId
- the objectId to find- Returns:
- whether the collection contains the objectId.
-
-