public interface IElementComparer
equals
and hashCode
implementations of the
elements themselves.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object a,
Object b)
Compares two elements for equality
|
int |
hashCode(Object element)
Returns the hash code for the given element.
|
boolean equals(Object a, Object b)
a
- the first elementb
- the second elementint hashCode(Object element)
element
- the element the hash code is calculated for
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.