public class FileHash extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.common.hash.HashCode |
getHashCode()
Get the original hash code object used to create this
FileHash object |
com.google.common.hash.HashFunction |
getHashFunction()
Get the hash function for this type of hash
|
int |
hashCode() |
static FileHash |
ofSha1(com.google.common.hash.HashCode sha1)
Create a
FileHash object with a sha1 hash |
static FileHash |
ofSha256(com.google.common.hash.HashCode sha256)
Create a
FileHash object with a sha1 hash |
String |
toString() |
public static FileHash ofSha1(com.google.common.hash.HashCode sha1)
FileHash
object with a sha1 hashpublic static FileHash ofSha256(com.google.common.hash.HashCode sha256)
FileHash
object with a sha1 hashpublic com.google.common.hash.HashFunction getHashFunction()
public com.google.common.hash.HashCode getHashCode()
FileHash
object