Package org.eclipse.emf.compare.utils
Class Objects
java.lang.Object
org.eclipse.emf.compare.utils.Objects
public final class Objects
extends java.lang.Object
Utility method useable on any
Object.
Mostly answers the same interfaces as Guava's "Objects", but re-implemented here to avoid deprecation issues.
- Since:
- 3.5
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjects.ToStringHelperFluent interface to build a String representation of an object following the same format as guava's Objects.toStringHelper(). -
Method Summary
Modifier and Type Method Description static Objects.ToStringHelpertoStringHelper(java.lang.Object object)Creates a builder for thetoString()of the given object.
-
Method Details
-
toStringHelper
Creates a builder for thetoString()of the given object.- Parameters:
object- The object we'll need a string representation of.- Returns:
- A builder for the
toString()of the given object.
-