Class RandomToByteBuffer

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

    public class RandomToByteBuffer
    extends java.lang.Object
    implements java.util.function.LongFunction<java.nio.ByteBuffer>
    • Method Summary

      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

      • RandomToByteBuffer

        public RandomToByteBuffer​(int length)
      • RandomToByteBuffer

        public RandomToByteBuffer​(int length,
                                  long seed)
    • Method Detail

      • apply

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