Example usage for Java com.google.common.base MoreObjects fields, constructors, methods, implement or subclass
The text is from its open source code.
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 . |
ToStringHelper | toStringHelper(Object self) Creates an instance of ToStringHelper . |
ToStringHelper | toStringHelper(Class> clazz) Creates an instance of ToStringHelper in the same manner as #toStringHelper(Object) , but using the simple 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 #toStringHelper(Object) , but using className instead of using an instance's Object#getClass() . |