List of usage examples for java.nio IntBuffer arrayOffset
public final int arrayOffset()
From source file:Main.java
public static void main(String[] args) { IntBuffer bb = IntBuffer.allocate(10); bb.put(100);//from w w w.j a v a 2 s .c o m System.out.println(bb.arrayOffset()); }
From source file:Main.java
public static void main(String[] args) { IntBuffer bb = IntBuffer.allocate(10); bb.put(1, 100);// ww w . j a v a 2 s .c o m System.out.println(bb.arrayOffset()); }
From source file:Main.java
public static void main(String[] args) { IntBuffer bb = IntBuffer.allocate(10); bb.put(new int[] { 100, 123 }); System.out.println(bb.arrayOffset()); }