Here you can find the source of getBatch(ByteBuffer bb)
private static long getBatch(ByteBuffer bb)
//package com.java2s; //License from project: Apache License import java.nio.ByteBuffer; public class Main { private static final int batchPos = 0; private static long getBatch(ByteBuffer bb) { return bb.getLong(batchPos); }/*from w w w . j a v a2 s. co m*/ }