Object.
See the Guava User Guide on writing Object
methods with Objects.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static int |
| Objects | back to summary |
|---|---|
| private Objects() | |
| equal | back to summary |
|---|---|
| public static boolean equal(Object a, Object b) Determines whether two possibly-null objects are equal. Returns:
This assumes that any non-null objects passed to this function conform to the Note for Java 7 and later: This method should be treated as deprecated; use | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(@Nullable Object... objects) Generates a hash code for multiple values. The hash code is generated by calling This is useful for implementing Warning When a single object is supplied, the returned hash code does not equal the hash code of that object. Note for Java 7 and later: This method should be treated as deprecated; use | |