Uses of Class
com.scurrilous.circe.HashSupport
-
Packages that use HashSupport Package Description com.scurrilous.circe Provides interfaces and minimal support classes for providing and consuming various forms of hash functions.com.scurrilous.circe.checksum com.scurrilous.circe.crc Provides various implementations of cyclic redundancy check (CRC) error-detecting codes.com.scurrilous.circe.impl Provides support for implementing new hash providers in the form of abstract base classes and utility classes. -
-
Uses of HashSupport in com.scurrilous.circe
Methods in com.scurrilous.circe that return HashSupport Modifier and Type Method Description static HashSupport
HashSupport. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HashSupport[]
HashSupport. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.scurrilous.circe that return types with arguments of type HashSupport Modifier and Type Method Description java.util.EnumSet<HashSupport>
HashProvider. querySupport(HashParameters params)
Returns information about the available implementations corresponding to the given hash algorithm parameters.static java.util.SortedMap<java.util.EnumSet<HashSupport>,HashProvider>
HashProviders. search(HashParameters params)
Returns a map of hash providers supporting at least a stateful implementation of a hash function with the given parameters.static java.util.SortedMap<java.util.EnumSet<HashSupport>,HashProvider>
HashProviders. search(HashParameters params, java.util.EnumSet<HashSupport> required)
Returns a map of hash providers supporting at least the given flags for a hash function with the given parameters.Method parameters in com.scurrilous.circe with type arguments of type HashSupport Modifier and Type Method Description static HashProvider
HashProviders. best(HashParameters params, java.util.EnumSet<HashSupport> required)
Returns the best hash provider supporting at least the given flags for a hash function with the given parameters.static int
HashSupport. compare(java.util.EnumSet<HashSupport> set1, java.util.EnumSet<HashSupport> set2)
Compares the given sets of hash algorithm support flags for priority order.int
HashSupport.SetComparator. compare(java.util.EnumSet<HashSupport> o1, java.util.EnumSet<HashSupport> o2)
static int
HashSupport. getMaxPriority(java.util.EnumSet<HashSupport> set)
Returns the priority of the highest-priority hash algorithm support flag in the given set of flags.static java.util.SortedMap<java.util.EnumSet<HashSupport>,HashProvider>
HashProviders. search(HashParameters params, java.util.EnumSet<HashSupport> required)
Returns a map of hash providers supporting at least the given flags for a hash function with the given parameters. -
Uses of HashSupport in com.scurrilous.circe.checksum
Methods in com.scurrilous.circe.checksum that return types with arguments of type HashSupport Modifier and Type Method Description protected java.util.EnumSet<HashSupport>
Crc32cSse42Provider. querySupportTyped(HashParameters params)
Method parameters in com.scurrilous.circe.checksum with type arguments of type HashSupport Modifier and Type Method Description protected StatelessHash
Crc32cSse42Provider. createCacheable(HashParameters params, java.util.EnumSet<HashSupport> required)
protected Hash
Crc32cSse42Provider. get(HashParameters params, java.util.EnumSet<HashSupport> required)
-
Uses of HashSupport in com.scurrilous.circe.crc
Methods in com.scurrilous.circe.crc that return types with arguments of type HashSupport Modifier and Type Method Description protected java.util.EnumSet<HashSupport>
StandardCrcProvider. querySupportTyped(CrcParameters params)
Method parameters in com.scurrilous.circe.crc with type arguments of type HashSupport Modifier and Type Method Description protected StatelessHash
StandardCrcProvider. createCacheable(CrcParameters params, java.util.EnumSet<HashSupport> required)
protected Hash
StandardCrcProvider. get(CrcParameters params, java.util.EnumSet<HashSupport> required)
-
Uses of HashSupport in com.scurrilous.circe.impl
Methods in com.scurrilous.circe.impl that return types with arguments of type HashSupport Modifier and Type Method Description java.util.EnumSet<HashSupport>
AbstractHashProvider. querySupport(HashParameters params)
protected abstract java.util.EnumSet<HashSupport>
AbstractHashProvider. querySupportTyped(P params)
Implemented by subclasses to provide information about the available implementations corresponding to the given hash algorithm parameters.Method parameters in com.scurrilous.circe.impl with type arguments of type HashSupport Modifier and Type Method Description protected StatelessHash
AbstractHashProvider. createCacheable(P params, java.util.EnumSet<HashSupport> required)
Called byAbstractHashProvider.getCacheable(P, java.util.EnumSet<com.scurrilous.circe.HashSupport>)
to create new cacheable stateless hash functions.protected abstract Hash
AbstractHashProvider. get(P params, java.util.EnumSet<HashSupport> required)
Requests a hash function using the given parameters and support flags.Hash
HashCache. get(HashParameters params, java.util.EnumSet<HashSupport> required, java.util.concurrent.Callable<Hash> loader)
Requests a cached hash function with the given parameters and required support flags.protected Hash
AbstractHashProvider. getCacheable(P params, java.util.EnumSet<HashSupport> required)
Called by implementations that support caching of stateless hash functions when a cached instance is desired.
-