[jdom-interest] overriding Element.equals()

Mark Galbreath beer at dirtroad.net
Wed Dec 19 06:00:39 PST 2001


Joshua Bloch offers some insight on Jason's suggested implementation in
"Effective Java," pp. 53ff, "Item 11: Consider Implementing Comparable."

Mark

-----Original Message-----
From: Jason Hunter
Sent: Wednesday, December 19, 2001 3:05 AM

Write a Comparator that compares whatever aspects of the content you
think should be considered when comparing.

-jh-

> Michael Raillard wrote:
>
> Anyone have a good solution for overriding the equals() method for
> Element that compares content?




More information about the jdom-interest mailing list