T
- the type of objects to be compared for equalitypublic interface EqualityMatcher<T>
Modifier and Type | Method and Description |
---|---|
boolean |
equal(T a,
T b)
Compare two objects for equality
|
int |
hash(T a)
Compute a hash code for an object
|
boolean equal(T a, T b)
a
- one objectb
- another objectint hash(T a)
a
- an objectCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.