< prev index next >
src/java.base/share/classes/sun/security/x509/CRLExtensions.java
Print this page
*** 236,247 ****
return unsupportedCritExt;
}
/**
* Compares this CRLExtensions for equality with the specified
! * object. If the <code>other</code> object is an
! * <code>instanceof</code> <code>CRLExtensions</code>, then
* all the entries are compared with the entries from this.
*
* @param other the object to test for equality with this CRLExtensions.
* @return true iff all the entries match that of the Other,
* false otherwise.
--- 236,247 ----
return unsupportedCritExt;
}
/**
* Compares this CRLExtensions for equality with the specified
! * object. If the {@code other} object is an
! * {@code instanceof} {@code CRLExtensions}, then
* all the entries are compared with the entries from this.
*
* @param other the object to test for equality with this CRLExtensions.
* @return true iff all the entries match that of the Other,
* false otherwise.
*** 284,297 ****
public int hashCode() {
return map.hashCode();
}
/**
! * Returns a string representation of this <tt>CRLExtensions</tt> object
* in the form of a set of entries, enclosed in braces and separated
! * by the ASCII characters "<tt>, </tt>" (comma and space).
! * <p>Overrides to <tt>toString</tt> method of <tt>Object</tt>.
*
* @return a string representation of this CRLExtensions.
*/
public String toString() {
return map.toString();
--- 284,297 ----
public int hashCode() {
return map.hashCode();
}
/**
! * Returns a string representation of this {@code CRLExtensions} object
* in the form of a set of entries, enclosed in braces and separated
! * by the ASCII characters "<code>, </code>" (comma and space).
! * <p>Overrides to {@code toString} method of {@code Object}.
*
* @return a string representation of this CRLExtensions.
*/
public String toString() {
return map.toString();
< prev index next >