| com.ibm.icu.dev.test.util.Equator
Equator | public interface Equator (Code) | | |
getHashCode | public int getHashCode(Object object)(Code) | | Must obey normal rules: a=b => getHashCode(a)=getHashCode(b)
Parameters: object - a hash code for the object |
isEqual | public boolean isEqual(Object a, Object b)(Code) | | Comparator function. If overridden, must handle case of null,
and compare any two objects that could be compared.
Must obey normal rules of symmetry: a=b => b=a
and transitivity: a=b & b=c => a=b)
Parameters: a - Parameters: b - true if a and b are equal |
|
|