Example usage for java.nio LongBuffer isDirect

List of usage examples for java.nio LongBuffer isDirect

Introduction

In this page you can find the example usage for java.nio LongBuffer isDirect.

Prototype

public abstract boolean isDirect();

Source Link

Document

Indicates whether this buffer is direct.

Usage

From source file:Main.java

public static void main(String[] args) {
    LongBuffer bb = LongBuffer.allocate(10);
    bb.put(100);/*w  w  w  .  j a v  a 2 s. co m*/
    System.out.println(bb.isDirect());

}