201 |
boolean equals(Object another); |
boolean equals(Object another); |
202 |
|
|
203 |
/** |
/** |
204 |
|
* Return the hashcode of this GSSName. When overriding {@link #equals}, |
205 |
|
* it is normally necessary to override hashCode() as well. |
206 |
|
* |
207 |
|
* @return the hash code that must be the same for two names if {@link #equals} |
208 |
|
* returns true. |
209 |
|
*/ |
210 |
|
int hashCode(); |
211 |
|
|
212 |
|
/** |
213 |
* Creates a mechanism name (MN) from an arbitrary internal name. This |
* Creates a mechanism name (MN) from an arbitrary internal name. This |
214 |
* is equivalent to using the factory methods {@link |
* is equivalent to using the factory methods {@link |
215 |
* GSSManager#createName(java.lang.String,org.ietf.jgss.Oid,org.ietf.jgss.Oid)} |
* GSSManager#createName(java.lang.String,org.ietf.jgss.Oid,org.ietf.jgss.Oid)} |