public abstract class ChecksumHasher extends AbstractStreamingHasher
seed| 构造器和说明 |
|---|
ChecksumHasher(Checksum checksum) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getHash() |
void |
reset() |
protected void |
update(byte b) |
void |
update(byte[] bytes,
int off,
int len)
用于流式计算
|
hashasInt, asLong, createInstance, get, getName, hash, hash, padToLong, setSeed, toLongclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetSeedpublic ChecksumHasher(Checksum checksum)
public void update(byte[] bytes,
int off,
int len)
AbstractStreamingHasherupdate 在接口中 StreamingHasherupdate 在类中 AbstractStreamingHasherprotected void update(byte b)
update 在类中 AbstractStreamingHasherpublic void reset()
reset 在接口中 StreamingHasherreset 在类中 AbstractStreamingHasherpublic long getHash()
Copyright © 2022. All rights reserved.