System.out.println(String.format("%08x", p.hashCode()));
Java 3种方法实现进制转换_java_脚本之家 (jb51.net)https://www.jb51.net/article/196543.htm
Integer.toBinaryString(num);
Integer.toBinaryString(num);
Integer.toHexString(num);
System.out.println(String.format("%08x", p.hashCode()));
Java 3种方法实现进制转换_java_脚本之家 (jb51.net)https://www.jb51.net/article/196543.htm
Integer.toBinaryString(num);
Integer.toBinaryString(num);
Integer.toHexString(num);