Class HeapCloner

  • All Implemented Interfaces:
    Cloner

    public final class HeapCloner
    extends ByteBufferCloner
    Cloner class that can be use to clone partition elements on heap.
    • Field Detail

      • instance

        public static final HeapCloner instance
    • Method Detail

      • allocate

        public java.nio.ByteBuffer allocate​(int size)
        Description copied from class: ByteBufferCloner
        Allocate a slice of the given length.
        Specified by:
        allocate in class ByteBufferCloner