Example usage for java.nio LongBuffer hashCode

List of usage examples for java.nio LongBuffer hashCode

Introduction

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

Prototype

public int hashCode() 

Source Link

Document

Calculates this buffer's hash code from the remaining chars.

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  a2 s.co  m*/
    System.out.println(bb.hashCode());

}