public abstract class AbstractSimpleCommandHasher extends AbstractCommandHasher
this abstract class in order to implement
CommandLongHasher as AbstractCommandHasher.hashLongs(long[]) and
hashBytes(byte[]) are supported by almost all Java hashing libraries.| Constructor and Description |
|---|
AbstractSimpleCommandHasher() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
hashBuilder(Builder builder) |
protected abstract long |
hashBytes(byte[] bytes) |
protected long |
hashInt(int hashCode) |
protected long |
hashRawable(Rawable raw) |
hash, hashLongsprotected final long hashRawable(Rawable raw)
hashRawable in class AbstractCommandHasherprotected final long hashBuilder(Builder builder)
hashBuilder in class AbstractCommandHasherprotected abstract long hashBytes(byte[] bytes)
protected long hashInt(int hashCode)
Copyright © 2024. All rights reserved.