Class RandomToByteBuffer

java.lang.Object
io.nosqlbench.virtdata.library.random.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>
  • Constructor Summary

    Constructors 
    Constructor Description
    RandomToByteBuffer​(int length)  
    RandomToByteBuffer​(int length, long seed)  
  • 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 Details

  • Method Details

    • apply

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