List of usage examples for org.apache.commons.lang3.builder Person hashCode
@HotSpotIntrinsicCandidate public native int hashCode();
From source file:org.ruogu.lang3.builder.TestBuilder.java
public static void testHashCode() { System.out.println("------------testHashCode-------------"); Person p = new Person(); p.age = 12;/*w ww. j a v a 2s. c o m*/ p.name = "tom"; p.smoker = true; System.out.println(p.hashCode()); System.out.println(p.hashCode2()); }