Class Java8CompatibleFunnel

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Function<java.lang.Object,​Either<java.lang.Integer,​byte[]>>, HashingFunnel

    public final class Java8CompatibleFunnel
    extends java.lang.Object
    implements HashingFunnel
    Implementation of a Java8-compatible serializable hash function.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Either<java.lang.Integer,​byte[]> apply​(java.lang.Object key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • Java8CompatibleFunnel

        public Java8CompatibleFunnel()
    • Method Detail

      • apply

        public Either<java.lang.Integer,​byte[]> apply​(java.lang.Object key)
        Specified by:
        apply in interface java.util.function.Function<java.lang.Object,​Either<java.lang.Integer,​byte[]>>