O - the element typeprivate static class CollectionUtils.EquatorWrapper<O>
extends java.lang.Object
equals(Object) and hashCode().
This class can be used to store objects into a Map.
| Modifier and Type | Field and Description |
|---|---|
private Equator<O> |
equator |
private O |
object |
| Constructor and Description |
|---|
EquatorWrapper(Equator<O> equator,
O object) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
O |
getObject() |
int |
hashCode() |
public O getObject()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object