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 Details

    • LazyObjectIdSetFile

      public LazyObjectIdSetFile(File src)
      Create a new lazy set from a file.
      Parameters:
      src - the source file.
  • Method Details

    • contains

      public boolean contains(AnyObjectId objectId)
      Description copied from interface: ObjectIdSet
      Returns true if the objectId is contained within the collection.
      Specified by:
      contains in interface ObjectIdSet
      Parameters:
      objectId - the objectId to find
      Returns:
      whether the collection contains the objectId.