Java com.google.common.base MoreObjects fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.base MoreObjects fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.base MoreObjects.

The text is from its open source code.

Method

TfirstNonNull(@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 .
ToStringHelpertoStringHelper(Object self)
Creates an instance of ToStringHelper .
ToStringHelpertoStringHelper(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() .
ToStringHelpertoStringHelper(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() .