1 /** 2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved. 3 */ 4 package com.tc.util; 5 6 /** 7 * Knows how to compare two objects for equality. This object must be able to accept <code>null</code> values for 8 * either argument — <code>null</code> should never be equal to anything except itself. 9 */ 10 public interface EqualityComparator { 11 12 boolean isEquals(Object one, Object two); 13 14 }