public final class EqualsCheckerIsEqual extends AbstractEqualsChecker<Object>
EqualsChecker that simply delegates to Object.equals(Object).| Modifier and Type | Field and Description |
|---|---|
private static EqualsCheckerIsEqual |
INSTANCE |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
EqualsCheckerIsEqual()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <VALUE> EqualsChecker<VALUE> |
getInstance() |
protected boolean |
isEqualNotNull(Object value1,
Object value2)
Called from
AbstractEqualsChecker.isEqual(Object, Object) if objects are both NOT same and NOT null. |
isEqualprivate static final long serialVersionUID
private static final EqualsCheckerIsEqual INSTANCE
public EqualsCheckerIsEqual()
getInstance() instead.public static <VALUE> EqualsChecker<VALUE> getInstance()
VALUE - is the generic type of the values to check.protected boolean isEqualNotNull(Object value1, Object value2)
AbstractEqualsCheckerAbstractEqualsChecker.isEqual(Object, Object) if objects are both NOT same and NOT null.isEqualNotNull in class AbstractEqualsChecker<Object>value1 - is the first value to check.value2 - is the first value to check.true if the given values are considered as equal, false otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.