| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean |
| computeHashCode | back to summary |
|---|---|
| public int computeHashCode(E object) Computes the hashCode of the object as defined by the user. | |
| equals | back to summary |
|---|---|
| public boolean equals(E object1, E object2) Checks two objects for equality. The equality check can use the objects own equals() method or a custom method defined by the user. It should be consistent with the computeHashCode() method. | |