T
- Object type@FunctionalInterface public interface EqualsHandler<T>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(T object,
Object other)
Gets whether given
object is equal to to another object. |
boolean equals(T object, Object other)
object
is equal to to another object.
The equals logic should follow the same semantic of Object.equals(Object)
.
object
- The object to compare (may be null)other
- The object with which the first object must be compared (may be null)true
if the two object must be considered equal, false
otherwiseCopyright © 2018 The Holon Platform. All rights reserved.