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<? super O> |
equator |
private O |
object |
Constructor and Description |
---|
EquatorWrapper(Equator<? super 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.Object
public int hashCode()
hashCode
in class java.lang.Object