_Jv_HashCode

Bryce McKinlay bryce@albatross.co.nz
Thu May 11 18:58:00 GMT 2000


Per Bothner wrote:
> (2) Putting random objects that that don't override hashCode into a
> hash table is usually not something that makes sense ...

I don't agree. It is sometimes very useful to associate <some random object>
with <some other random object> in an efficient way without having to changes
or extend the objects themselves. Hashtables are a good way to do this.
regards
 [ bryce ]


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /