Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public final class ObjectUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(Object obj1,
Object obj2)
Compares the equality of two objects, including their null states.
|
static int |
hash(Object... values)
Gets the hashCode for a set of objects or
0 when null. |
static int |
hashCode(Object obj)
Gets the hashCode for an object or
0 when null. |
static String |
toString(Object obj)
Calls toString if non-null, returns null when null.
|
public static int hashCode(Object obj)
0 when null.public static int hash(Object... values)
0 when null.public static boolean equals(Object obj1, Object obj2)
Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.