Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 25891 invoked from network); 8 Mar 2004 21:10:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Mar 2004 21:10:01 -0000 Received: (qmail 86173 invoked by uid 500); 8 Mar 2004 21:09:48 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 85780 invoked by uid 500); 8 Mar 2004 21:09:46 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 85766 invoked from network); 8 Mar 2004 21:09:46 -0000 Received: from unknown (HELO logictrends.com) (64.190.71.44) by daedalus.apache.org with SMTP; 8 Mar 2004 21:09:46 -0000 Date: Mon, 8 Mar 2004 16:19:05 -0500 Message-Id: <200403081619.AA536019572@logictrends.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "David Gilliland" Reply-To: X-Sender: To: "Jakarta Commons Developers List" Subject: RE: Proposal for the Commons Sandbox X-Mailer: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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. > >> http://c2.com/cgi/wiki?BuilderPattern > > michael > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org >For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > -- David Gilliland Phone: 770-300-6086 Email: dgilliland62@users.sourceforge.net -- --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org