src/main/java/org/jboss/util/Strings.java
/**
    * The default toString implementation of an object
    * 
    * @param object the object
    * @return a string in the form className@hexHashCode
    */
The default toString implementation of an object

@param object the object
@return a string in the form className@hexHashCode
The default toString implementation of an object @param object the object @return a string in the form className@hexHashCode
public static final String defaultToString(Object object)
   {
      if (object == null)
         return "null";
      else
         return object.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(object));
   }
public static final String defaultToString ( Object object ) { if ( object == null ) return "null" ; else return object . getClass ( ) . getName ( ) + '@' + Integer . toHexString ( System . identityHashCode ( object ) ) ; }
The default toString implementation of an object
The default toString implementation of an object