E
- the generic type of the Bean
interface itself.public interface CustomEquals<E extends CustomEquals<E>>
Bean
may implement when providing a custom
implementation
of #equals(Object)
.Bean
. It is already sufficient if you
proved a default method with the same signature as isEqualTo(CustomEquals)
.Modifier and Type | Method and Description |
---|---|
boolean |
isEqualTo(E other)
Override with default method implementation in your interface to provide custom implementation of
#equals(Object) . |
boolean isEqualTo(E other)
#equals(Object)
.other
- the object to compare to.#equals(Object)
for this object.Copyright © 2001–2016 mmm-Team. All rights reserved.