Here you can find the source of setBatch(ByteBuffer bb, long batchId)
private static void setBatch(ByteBuffer bb, long batchId)
//package com.java2s; //License from project: Apache License import java.nio.ByteBuffer; public class Main { private static final int batchPos = 0; private static void setBatch(ByteBuffer bb, long batchId) { bb.putLong(batchPos, batchId);//from ww w . j ava 2 s .co m } }