Example usage for java.nio DoubleBuffer order

List of usage examples for java.nio DoubleBuffer order

Introduction

In this page you can find the example usage for java.nio DoubleBuffer order.

Prototype

public abstract ByteOrder order();

Source Link

Document

Returns the byte order used by this buffer when converting doubles from/to bytes.

Usage

From source file:Main.java

public static void main(String[] args) {
    DoubleBuffer bb = DoubleBuffer.allocate(BSIZE);

    bb.put(98765);/*from   w  w w. j a  va2s.  c  o  m*/
    System.out.println(bb.order());

}