Parent Directory | Revision Log | Patch
revision 1.2.2.3 by gnu_andrew, Tue Aug 2 20:12:41 2005 UTC | revision 1.2.2.4 by gnu_andrew, Wed Nov 2 00:44:08 2005 UTC | |
---|---|---|
# | Line 331 public interface GSSCredential extends C | Line 331 public interface GSSCredential extends C |
331 | * @return True if this object equals the other. | * @return True if this object equals the other. |
332 | */ | */ |
333 | boolean equals(Object another); | boolean equals(Object another); |
334 | ||
335 | /** | |
336 | * Return the hash code of this credential. When overriding {@link #equals}, | |
337 | * it is necessary to override hashCode() as well. | |
338 | * | |
339 | * @return the hash code that must be the same for two credentials if | |
340 | * {@link #equals} returns true. | |
341 | */ | |
342 | int hashCode(); | |
343 | ||
344 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |