Equator can evaluate.
Equator implementation.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | HASHCODE_NULL
Hashcode used for |
| public static final DefaultEquator | INSTANCE
Static instance |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the object type T> DefaultEquator | |
| public boolean | equate(final T
the first object to be equated. o1, final T the second object to be equated. o2)Implements org. |
| public int | hash(final T
the object to calculate the hash for. o)Implements org. |
| private Object |
| HASHCODE_NULL | back to summary |
|---|---|
| public static final int HASHCODE_NULL Hashcode used for | |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultEquator<T> INSTANCE Static instance
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| DefaultEquator | back to summary |
|---|---|
| private DefaultEquator() Restricted constructor. | |
| defaultEquator | back to summary |
|---|---|
| public static <T> DefaultEquator Factory returning the typed singleton instance.
| |
| equate | back to summary |
|---|---|
| public boolean equate(final T o1, final T o2) Implements org. Doc from org. Evaluates the two arguments for their equality. Delegates to
| |
| hash | back to summary |
|---|---|
| public int hash(final T o) Implements org. Doc from org. Calculates the hash for the object, based on the method of equality used in the equate
method. This is used for classes that delegate their
| |
| readResolve | back to summary |
|---|---|
| private Object readResolve() | |