Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Type safe enums, class loaders and equals

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Bill de hÓra <bill AT dehora.net>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Type safe enums, class loaders and equals
  • Date: Tue, 28 Jan 2003 04:36:27 -0500

At 10:57 PM +0000 1/24/03, Bill de hÓra wrote:

Because equal hashCodes don't entail object equality, though all
equal objects have equal hashCodes (a neccessary but not sufficient
condition).


Normally no. However in this case there are a fixed number of objects
with a fixed set of unique hash codes.
--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Processing XML with Java (Addison-Wesley, 2002) |
| http://www.cafeconleche.org/books/xmljava |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+




Archive powered by MHonArc 2.6.24.

Top of Page