|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEqualityComparer<T>
Defines methods to support the comparison of objects for equality.
Method Summary | |
---|---|
boolean |
Equals(T x,
T y)
Determines whether the specified objects are equal. |
int |
GetHashCode(T obj)
Returns a hash code for the specified object. |
Method Detail |
---|
boolean Equals(T x, T y)
x
- The first object of type T to compare.y
- The second object of type T to compare.
true
if the specified objects are equal; otherwise, false
.int GetHashCode(T obj)
obj
- The Object for which a hash code is to be returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |