Package com.scurrilous.circe
Interface StatelessHash
-
- All Superinterfaces:
Hash
- All Known Subinterfaces:
IncrementalIntHash
,IncrementalLongHash
,StatelessIntHash
,StatelessLongHash
- All Known Implementing Classes:
AbstractIncrementalIntHash
,AbstractIncrementalLongHash
,AbstractIntCrc
,AbstractLongCrc
,AbstractStatelessIntHash
,AbstractStatelessLongHash
,IntStatelessLongHash
,NormalByteCrc
,NormalIntCrc
,NormalLongCrc
,ReflectedIntCrc
,ReflectedLongCrc
,Sse42Crc32C
public interface StatelessHash extends Hash
Base interface for stateless hash functions that immediately return the hash value corresponding to a given input. Stateless hash functions may be used concurrently by multiple threads without any synchronization overhead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatefulHash
createStateful()
Returns a new instance of stateful version of this hash function.-
Methods inherited from interface com.scurrilous.circe.Hash
algorithm, length, supportsUnsafe
-
-
-
-
Method Detail
-
createStateful
StatefulHash createStateful()
Returns a new instance of stateful version of this hash function.- Returns:
- the stateful version of this hash function
-
-