0001 /* 0002 * 判等器接口 0003 */ 0004 0005 package dsa; 0006 0007 public interface EqualityTester { 0008 public boolean isEqualTo(Object a, Object b);//若a与b相等,则返回true;否则,返回false 0009 }