MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / hashCode

Method hashCode

src/main/java/org/htmlunit/http/Cookie.java:246–250  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

244 * {@inheritDoc}
245 */
246 @Override
247 public int hashCode() {
248 final String path = getPath() == null ? "/" : getPath();
249 return Objects.hash(getName(), getDomain(), path);
250 }
251}

Callers 3

domainMethod · 0.95
valueMethod · 0.95
nullPathMethod · 0.95

Calls 4

getPathMethod · 0.95
getNameMethod · 0.95
getDomainMethod · 0.95
hashMethod · 0.45

Tested by 3

domainMethod · 0.76
valueMethod · 0.76
nullPathMethod · 0.76