Hasher objects of the delegate hash functions, and in the end, they are used by
makeHash(Hasher[]) that constructs the final HashCode.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final HashFunction[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Hasher | |
| pack-priv abstract HashCode | |
| public Hasher | newHasher()
Implements com. Hasher
instance that is ready to receive data.
|
| public Hasher | newHasher(int expectedInputSize)
Overrides com. Implements com. newHasher(), but provides a hint of the expected
size of the input (in bytes).
|
| functions | back to summary |
|---|---|
pack-priv final HashFunction[] functions
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AbstractCompositeHashFunction | back to summary |
|---|---|
| pack-priv AbstractCompositeHashFunction(HashFunction... functions) | |
| fromHashers | back to summary |
|---|---|
| private Hasher fromHashers(Hasher[] hashers) | |
| makeHash | back to summary |
|---|---|
| pack-priv abstract HashCode makeHash(Hasher[] hashers) Constructs a | |
| newHasher | back to summary |
|---|---|
| public Hasher newHasher() Implements com. Doc from com. Begins a new hash code computation by returning an initialized, stateful
| |
| newHasher | back to summary |
|---|---|
| public Hasher newHasher(int expectedInputSize) Overrides com. Implements com. Doc from com. Begins a new hash code computation as
| |