java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsStreamKey
Key used by
DfsBlockCache to disambiguate streams.-
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()
-
Constructor Details
-
DfsStreamKey
Constructor for DfsStreamKey.- Parameters:
hash- hash of the other identifying components of the key.ext- pack file extension, ornull.
-
-
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
public int hashCode() -
equals
-
toString
-