commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Heuer <>
Subject RE: Proposal for the Commons Sandbox
Date Mon, 08 Mar 2004 20:35:40 GMT

On Mon, 8 Mar 2004, Gary Gregory wrote:

> In this case you are building a java.lang.String. Simple answer eh? ;-)
> The [Reflection]ToStringBuilder is used to create a String based on
> other Objects. The most common usage is to implement an Object's
> toString() method with a [Reflection]ToStringBuilder. You can also use
> the string builder classes to build a String for any object of course.
> For example, it can be useful for debugging purposes to use a
> ReflectionToStringBuilder toString to dump the contents of an arbitrary
> object.
> For the package as a whole, the term builder applies to the notion of
> building different kinds of algorithms for us with toString(), equals(),
> compareTo(), and hashCode(). Builder might not be a great name but it is
> hard to think of a name that says: "Assits in overriding methods that
> are in Object: toString(), hashCode(), equals(), and also compareTo()."

I think Builder is a perfect name, after the Builder object construction
pattern, see e.g.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message