public static final class HashingCodePathFactory.HashingCodePath extends java.lang.Object implements CodePath
CodePath.| Constructor and Description |
|---|
HashingCodePath(byte[] hash)
Builds a new
HashingCodePathFactory.HashingCodePath based on the provided hash. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
getHash() |
int |
hashCode() |
java.lang.String |
toString() |
public HashingCodePath(byte[] hash)
HashingCodePathFactory.HashingCodePath based on the provided hash.hash - a byte array representing the hash it must be at least four bytes
(though longer hashes are warmly recommended to avoid collisions)public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic byte[] getHash()
HashingCodePathFactory.HashingCodePath and can get
modified.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object