Example usage for java.nio DoubleBuffer hashCode

List of usage examples for java.nio DoubleBuffer hashCode

Introduction

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

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:Main.java

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

    bb.put(98765);/*from   ww  w.jav  a2s.c  om*/
    System.out.println(bb.hashCode());

}