[jdom-interest] Text.hashCode()
Jason Hunter
jhunter at collab.net
Tue Jun 19 15:46:26 PDT 2001
Unintentional I presume. Text isn't used yet, it's just a brainstorming
model. I've updated hashCode() tho, so we don't forget.
-jh-
Noam Tamim wrote:
>
> Hi.
>
> The equals() method of the new Text class, like all other JDOM nodes,
> is based on this==that. Inconsistently, its hashCode() method returns
> the hashCode of the String content.
> Was this done in purpose, or is it a mistake?
>
> - Noam.
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list