Uses of Interface
com.exonum.binding.common.hash.Funnel
| Package | Description |
|---|---|
| com.exonum.binding.common.crypto | |
| com.exonum.binding.common.hash |
Hash functions and related structures.
|
| com.exonum.binding.common.proofs |
-
Uses of Funnel in com.exonum.binding.common.crypto
Methods in com.exonum.binding.common.crypto that return Funnel Modifier and Type Method Description static Funnel<AbstractKey>AbstractKey. keyFunnel()Returns a funnel for any key. -
Uses of Funnel in com.exonum.binding.common.hash
Classes in com.exonum.binding.common.hash that implement Funnel Modifier and Type Class Description static classFunnels.HashCodeFunnelHashCode funnel.Methods in com.exonum.binding.common.hash that return Funnel Modifier and Type Method Description static Funnel<byte[]>Funnels. byteArrayFunnel()Returns a funnel that extracts the bytes from abytearray.static Funnel<HashCode>Funnels. hashCodeFunnel()Returns a funnel for hashcode.static Funnel<java.lang.Integer>Funnels. integerFunnel()Returns a funnel for integers.static Funnel<java.lang.Long>Funnels. longFunnel()Returns a funnel for longs.static <E> Funnel<java.lang.Iterable<? extends E>>Funnels. sequentialFunnel(Funnel<E> elementFunnel)Returns a funnel that processes anIterableby funneling its elements in iteration order with the specified funnel.static Funnel<java.lang.CharSequence>Funnels. stringFunnel(java.nio.charset.Charset charset)Returns a funnel that encodes the characters of aCharSequencewith the specifiedCharset.static Funnel<java.lang.CharSequence>Funnels. unencodedCharsFunnel()Returns a funnel that extracts the characters from aCharSequence, a character at a time, without performing any encoding.Methods in com.exonum.binding.common.hash with parameters of type Funnel Modifier and Type Method Description <T> HashCodeHashFunction. hashObject(T instance, Funnel<? super T> funnel)Shortcut fornewHasher().putObject(instance, funnel).hash().<T> HasherHasher. putObject(T instance, Funnel<? super T> funnel)A simple convenience forfunnel.funnel(object, this).static <E> Funnel<java.lang.Iterable<? extends E>>Funnels. sequentialFunnel(Funnel<E> elementFunnel)Returns a funnel that processes anIterableby funneling its elements in iteration order with the specified funnel. -
Uses of Funnel in com.exonum.binding.common.proofs
Classes in com.exonum.binding.common.proofs that implement Funnel Modifier and Type Class Description classDbKeyCompressedFunnelA funnel for a database key.classDbKeyFunnelA funnel for a database key.Methods in com.exonum.binding.common.proofs that return Funnel Modifier and Type Method Description static Funnel<DbKey>DbKeyCompressedFunnel. dbKeyCompressedFunnel()static Funnel<DbKey>DbKeyFunnel. dbKeyFunnel()