Here you can find the source of isEquals(byte[] id1, byte[] id2)
public static boolean isEquals(byte[] id1, byte[] id2)
//package com.java2s; //License from project: Open Source License import java.util.Arrays; public class Main { public static boolean isEquals(byte[] id1, byte[] id2) { return Arrays.equals(id1, id2); }/* www . ja v a 2s . c o m*/ }