Example usage for Java com.google.common.base Objects fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equal(@Nullable Object a, @Nullable Object b) Determines whether two possibly-null objects are equal. |
T | firstNonNull(@Nullable T first, @Nullable T second) Returns the first of two given parameters that is not null , if either is, or otherwise throws a NullPointerException . |
int | hashCode(@Nullable Object... objects) Generates a hash code for multiple values. |
ToStringHelper | toStringHelper(Object self) Creates an instance of ToStringHelper . |
ToStringHelper | toStringHelper(Class> clazz) Creates an instance of ToStringHelper in the same manner as Objects#toStringHelper(Object) , but using the name of clazz instead of using an instance's Object#getClass() . |
ToStringHelper | toStringHelper(String className) Creates an instance of ToStringHelper in the same manner as Objects#toStringHelper(Object) , but using className instead of using an instance's Object#getClass() . |