hex decode sample
// decodeで16進数文字列をintに戻す // 最初に0xが付いてれば、16進数として認識する int iHex = Integer.decode( "0x" + hex ); System.out.println( iHex ); // => 100