creates an instance of tostringhelper . this is helpful for implementing object #tostring . for example , in an object that contains two member variables , x , and y , one could write : public class classname public string tostring return objects.tostringhelper this . add `` x '' , x . add `` y '' , y . tostring ; assuming the values of x and y are 1 and 2 , this code snippet returns the string `` classname x = 1 , y = 2 '' . concode_field_sep Object instance concode_elem_sep List<String> fieldString concode_elem_sep Joiner JOINER concode_field_sep boolean equal concode_elem_sep ToStringHelper add concode_elem_sep String simpleName concode_elem_sep int hashCode concode_elem_sep String toString concode_elem_sep ToStringHelper addValue
ToStringHelper function ( Object arg0 ) { return new ToStringHelper ( arg0 ) ; }