List of usage examples for java.nio LongBuffer arrayOffset
public final int arrayOffset()
From source file:Main.java
public static void main(String[] args) { LongBuffer bb = LongBuffer.allocate(10); bb.put(100);//from w w w .j av a2 s .co m System.out.println(bb.arrayOffset()); }
From source file:Main.java
public static void main(String[] args) { LongBuffer bb = LongBuffer.allocate(10); bb.put(100L);//from w w w .j a v a2s . c om System.out.println(bb.arrayOffset()); }
From source file:Main.java
public static void main(String[] args) { LongBuffer bb = LongBuffer.allocate(10); bb.put(0, 123L);//from w w w . j a va 2 s .com System.out.println(bb.arrayOffset()); }
From source file:Main.java
public static void main(String[] args) { LongBuffer bb = LongBuffer.allocate(10); bb.put(1, 100L);/*from ww w. j av a 2 s. co m*/ System.out.println(bb.arrayOffset()); }