Class Objects


  • public final class Objects
    extends 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
    • Method Detail

      • toStringHelper

        public static Objects.ToStringHelper toStringHelper​(Object object)
        Creates a builder for the toString() 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.