Here you can find the source of longArray2HexString(int[] longArray)
public static String longArray2HexString(int[] longArray)
//package com.java2s; //License from project: Open Source License public class Main { public static String longArray2HexString(int[] longArray) { if (longArray == null || longArray.length <= 0) { return ""; }//ww w .j av a 2 s.c o m StringBuilder sb = new StringBuilder(); for (int l : longArray) { sb.append(String.format("%08x", l)); } return sb.toString(); } }