com.starbase.diff
Interface DiffCompare

All Known Implementing Classes:
BasicCompare, BinaryCompare

public interface DiffCompare

The DiffCompare interface can be used to delegate the comparison of objects. It is used to compute a has value for an object and compare two objects for equality.


Method Summary
 boolean equalObjects(java.lang.Object source, java.lang.Object target)
          Return true if the two arguments are "equal".
 int hashObject(java.lang.Object object)
          Compute a hash value for the object.
 

Method Detail

hashObject

public int hashObject(java.lang.Object object)
Compute a hash value for the object.


equalObjects

public boolean equalObjects(java.lang.Object source,
                            java.lang.Object target)
Return true if the two arguments are "equal".



StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.