@@ -0,0 +1,1212 @@
+package com.xplus.commons.guava.basic;%0D%0A%0D%0Aimport java.util.Comparator;%0D%0A%0D%0Aimport org.junit.Assert;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Aimport com.google.common.base.MoreObjects;%0D%0Aimport com.google.common.collect.ComparisonChain;%0D%0A%0D%0A/**%0D%0A * %E5%B8%B8%E8%A7%81Object%E6%96%B9%E6%B3%95%0D%0A * %0D%0A * %E5%8F%82%E8%A7%81%7B@link http://ifeve.com/google-guava-commonobjectutilities/%7D%E3%80%82%0D%0A * %0D%0A * @author huzexiong%0D%0A *%0D%0A */%0D%0Apublic class A_1_3_MoreObjectTest %7B%0D%0A%0D%0A  @Test%0D%0A  public void test() %7B%0D%0A    Assert.assertEquals(%22%E7%9B%B8%E5%90%8C%22, true, com.google.common.base.Objects.equal(null, null));%0D%0A    Assert.assertEquals(%22%E7%9B%B8%E5%90%8C%22, true, java.util.Objects.equals(null, null));%0D%0A    Assert.assertEquals(%22%E7%9B%B8%E5%90%8C%22, java.util.Objects.hash(%221%22, %222%22), //%0D%0A        com.google.common.base.Objects.hashCode(%221%22, %222%22));%0D%0A    Assert.assertEquals(%22%E7%9B%B8%E5%90%8C%22, %223%22, MoreObjects.firstNonNull(null, %223%22));%0D%0A    System.out%0D%0A        .println(com.google.common.base.MoreObjects.toStringHelper(this).add(%22x%22, 1).toString());%0D%0A    Assert.assertEquals(%22%E7%9B%B8%E5%90%8C%22, 0, ComparisonChain.start() //%0D%0A        .compare(%221%22, %222%22, new Comparator%3CString%3E() %7B%0D%0A          @Override%0D%0A          public int compare(String o1, String o2) %7B%0D%0A            return Integer.parseInt(o2) - Integer.parseInt(o1) - 1;%0D%0A          %7D%0D%0A        %7D).result());%0D%0A  %7D%0D%0A%0D%0A%7D%0D%0A

Add Objects Test.