Package org.fest.util

Class ToString


  • public final class ToString
    extends java.lang.Object
    Obtains the toString representation of an object.
    Author:
    Alex Ruiz, Joel Costigliola, Yvonne Wang
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toStringOf​(java.lang.Object o)
      Returns the toString representation of the given object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toStringOf

        public static java.lang.String toStringOf​(java.lang.Object o)
        Returns the toString representation of the given object. It may or not the object's own implementation of toString.
        Parameters:
        o - the given object.
        Returns:
        the toString representation of the given object.