[jdom-interest] hashCode() methods for ContentFilter and ElementFilter

Elliotte Rusty Harold elharo at metalab.unc.edu
Mon May 6 14:57:29 PDT 2002


ElementFilter and ContentFilter both override equals(). However, neither 
overrides hashCode(). Since they have non-default equals() mehtods, they 
also need matching hashCode() methods.

-- 
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|           The XML Bible, 2nd Edition (IDG Books, 2001)             |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:   http://www.cafeaulait.org/     | 
|  Read Cafe con Leche for XML News:  http://www.cafeconleche.org/   |
+----------------------------------+---------------------------------+






More information about the jdom-interest mailing list