public abstract class DfsStreamKey
extends java.lang.Object
DfsBlockCache to disambiguate streams.| Modifier and Type | Class and Description |
|---|---|
private static class |
DfsStreamKey.ByteArrayDfsStreamKey |
(package private) static class |
DfsStreamKey.ForReverseIndex |
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
hash |
(package private) int |
packExtPos |
| Modifier | Constructor and Description |
|---|---|
protected |
DfsStreamKey(int hash,
PackExt ext)
Constructor for DfsStreamKey.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static DfsStreamKey |
of(DfsRepositoryDescription repo,
java.lang.String name,
PackExt ext)
Create a
DfsStreamKey |
java.lang.String |
toString() |
public static DfsStreamKey of(DfsRepositoryDescription repo, java.lang.String name, @Nullable PackExt ext)
DfsStreamKeyrepo - description of the containing repository.name - compute the key from a string name.ext - pack file extension, or null.namepublic int hashCode()
hashCode in class java.lang.Objectpublic abstract boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object