Example usage for java.nio LongBuffer hasArray

List of usage examples for java.nio LongBuffer hasArray

Introduction

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

Prototype

public final boolean hasArray() 

Source Link

Document

Indicates whether this buffer is based on a long array and is read/write.

Usage

From source file:Main.java

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

}