Class DfsStreamKey
java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsStreamKey
- Direct Known Subclasses:
DfsStreamKey.ByteArrayDfsStreamKey, DfsStreamKey.ForReverseIndex
Key used by
DfsBlockCache to disambiguate streams.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class(package private) static final class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int(package private) final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDfsStreamKey(int hash, PackExt ext) Constructor for DfsStreamKey. -
Method Summary
Modifier and TypeMethodDescriptionabstract booleaninthashCode()static DfsStreamKeyof(DfsRepositoryDescription repo, String name, PackExt ext) Create aDfsStreamKeytoString()
-
Field Details
-
hash
final int hash -
packExtPos
final int packExtPos
-
-
Constructor Details
-
DfsStreamKey
-
-
Method Details
-
of
Create aDfsStreamKey- Parameters:
repo- description of the containing repository.name- compute the key from a string name.ext- pack file extension, ornull.- Returns:
- key for
name
-
hashCode
-
equals
-
toString
-