| Current Forum: Homework 5 - Part 3 |
| Date: Mon Nov 19 2001 4:18 pm |
| Author: Bortz, Andrew S. <abortz@andrew.cmu.edu> |
| Subject: Re: hashcode() |
|
|
| Is there any reason why it shouldn't? If you look at the specification for this function (in java.lang.Object), it doesn't say anything about returning a positive integer, so I would imagine that a negative hashCode() is just as good as a positive one. |
|