Class HashedToByteBuffer

  • All Implemented Interfaces:
    java.util.function.LongFunction<java.nio.ByteBuffer>

    public class HashedToByteBuffer
    extends java.lang.Object
    implements java.util.function.LongFunction<java.nio.ByteBuffer>
    Hash a long input value into a byte buffer, at least length bytes long, but aligned on 8-byte boundary;
    • Constructor Summary

      Constructors 
      Constructor Description
      HashedToByteBuffer​(int lengthInBytes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer apply​(long input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HashedToByteBuffer

        public HashedToByteBuffer​(int lengthInBytes)
    • Method Detail

      • apply

        public java.nio.ByteBuffer apply​(long input)
        Specified by:
        apply in interface java.util.function.LongFunction<java.nio.ByteBuffer>