tml" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;obj)</span></div>
<div class="block">Compare for equality. Use <a href="#toCookie()"><code>toCookie()</code></a> to compare a <code>NewCookie</code> to a <code>Cookie</code> considering only the
 common properties.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Cookie.html#equals(java.lang.Object)">equals</a></code>&nbsp;in class&nbsp;<code><a href="Cookie.html" title="class in jakarta.ws.rs.core">Cookie</a><