Interface Representation

    • Method Detail

      • toStringOf

        String toStringOf​(Object object)
        Returns the String representation of the given object. It may or may not be the object's own implementation of toString.
        Parameters:
        object - the object to represent.
        Returns:
        the toString representation of the given object.
      • unambiguousToStringOf

        String unambiguousToStringOf​(Object object)
        Returns the String representation of the given object with its type and hexadecimal identity hash code so that it can be differentiated from other objects with the same toStringOf(Object) representation.
        Parameters:
        object - the object to represent.
        Returns:
        the unambiguous toString representation of the given object.