Class LazyObjectIdSetFile

  • All Implemented Interfaces:
    ObjectIdSet

    public class LazyObjectIdSetFile
    extends Object
    implements ObjectIdSet
    Lazily loads a set of ObjectIds, one per line.
    • 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 interface ObjectIdSet
        Parameters:
        objectId - the objectId to find
        Returns:
        whether the collection contains the objectId.