Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Further discussion on the corelibs mailing list about utility methods suitable for java.util.Objects revealed several worthwhile additions including: static toString(Object o, String default): toString taking a default if o is null static deepEquals(Object a, Object b): run deep equals on arbritrary arguments static hash(Object... objs): compute a hash code for inputs
|