All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xerial.larray.buffer.LBuffer Maven / Gradle / Ivy

There is a newer version: 0.4.1
Show newest version
package xerial.larray.buffer;

/**
 * Off-heap memory buffer of int and long type indexes.
 * LBuffer is used as a backend of LArray.
 *
 * @author Taro L. Saito
 */
public class LBuffer extends LBufferAPI {
    /**
     * Allocate a memory of the specified byte size
     *
     * @param size byte size of the array
     */
    public LBuffer(long size) {
        super(LBufferConfig.allocator.allocate(size));
    }
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy