R
- row typepublic interface ElementComparer<R>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(R a,
@NonNull java.lang.Object b)
Compares two elements for equality
|
int |
hashCode(R element)
Returns the hash code for the given element.
|
boolean equals(R a, @NonNull java.lang.Object b)
a
- the first elementb
- the second elementint hashCode(R element)
element
- the element the hash code is calculated for