Class ToByteBuffer
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_long.ToByteBuffer
- All Implemented Interfaces:
java.util.function.LongFunction<java.nio.ByteBuffer>
public class ToByteBuffer
extends java.lang.Object
implements java.util.function.LongFunction<java.nio.ByteBuffer>
Convert the input value to a
ByteBuffer-
Constructor Summary
Constructors Constructor Description ToByteBuffer()ToByteBuffer(int size) -
Method Summary
Modifier and Type Method Description java.nio.ByteBufferapply(long input)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ToByteBuffer
public ToByteBuffer() -
ToByteBuffer
public ToByteBuffer(int size)
-
-
Method Details
-
apply
public java.nio.ByteBuffer apply(long input)- Specified by:
applyin interfacejava.util.function.LongFunction<java.nio.ByteBuffer>
-