KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > util > EqualityComparator


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 &mdash; <code>null</code> should never be equal to anything except itself.
9  */

10 public interface EqualityComparator {
11
12   boolean isEquals(Object JavaDoc one, Object JavaDoc two);
13
14 }
Popular Tags