Top Description Inners Fields Constructors Methods
org.eclipse.jgit.internal.storage.file

public Class LazyObjectIdSetFile

extends Object
implements ObjectIdSet
Class Inheritance
All Implemented Interfaces
org.eclipse.jgit.lib.ObjectIdSet
Static Imports
java.nio.charset.StandardCharsets.UTF_8

Lazily loads a set of ObjectIds, one per line.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private ObjectIdOwnerMap<LazyObjectIdSetFile.Entry>
private final File

Constructor Summary

AccessConstructor and Description
public
LazyObjectIdSetFile(File
the source file.
src
)

Create a new lazy set from a file.

Method Summary

Modifier and TypeMethod and Description
public boolean
contains(AnyObjectId
the objectId to find
objectId
)

Implements org.eclipse.jgit.lib.ObjectIdSet.contains.

Returns true if the objectId is contained within the collection.

private ObjectIdOwnerMap<LazyObjectIdSetFile.Entry>
load()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

setback to summary
private ObjectIdOwnerMap<LazyObjectIdSetFile.Entry> set
srcback to summary
private final File src

Constructor Detail

LazyObjectIdSetFileback to summary
public LazyObjectIdSetFile(File src)

Create a new lazy set from a file.

Parameters
src:File

the source file.

Method Detail

containsback to summary
public boolean contains(AnyObjectId objectId)

Implements org.eclipse.jgit.lib.ObjectIdSet.contains.

Doc from org.eclipse.jgit.lib.ObjectIdSet.contains.

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.

Annotations
@Override
loadback to summary
private ObjectIdOwnerMap<LazyObjectIdSetFile.Entry> load()
org.eclipse.jgit.internal.storage.file back to summary

pack-priv Class LazyObjectIdSetFile.Entry

extends Entry
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Constructor Detail

Entryback to summary
pack-priv Entry(AnyObjectId id)