Example usage for com.google.gwt.corp.compatibility Numbers doubleToRawLongBits

List of usage examples for com.google.gwt.corp.compatibility Numbers doubleToRawLongBits

Introduction

In this page you can find the example usage for com.google.gwt.corp.compatibility Numbers doubleToRawLongBits.

Prototype

public static long doubleToRawLongBits(double value) 

Source Link

Usage

From source file:java.nio.DirectReadWriteByteBuffer.java

License:Apache License

public ByteBuffer putDouble(double value) {
    return putLong(Numbers.doubleToRawLongBits(value));
}

From source file:java.nio.DirectReadWriteByteBuffer.java

License:Apache License

public ByteBuffer putDouble(int index, double value) {
    return putLong(index, Numbers.doubleToRawLongBits(value));
}