commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Gilliland" <>
Subject RE: Proposal for the Commons Sandbox
Date Mon, 08 Mar 2004 21:19:05 GMT
The classical GOF Builder pattern is the definition of "builder" I am most familiar with. 
The definition embodied in "EqualsBuilder" is a different one, however, though I agree it's
exceptionally difficult to come up with a name that means what we want here but that does
not already have some overloaded meaning (logical candidates like "Helper" or "Utils" already
have particular meanings).

---------- Original Message ----------------------------------
From: Michael Heuer <>
Reply-To: "Jakarta Commons Developers List" <>
Date:  Mon, 8 Mar 2004 15:35:40 -0500 (EST)

>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.
>   michael
>To unsubscribe, e-mail:
>For additional commands, e-mail:

David Gilliland

Phone: 770-300-6086

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

View raw message