MCPcopy Create free account
hub / github.com/davidgiven/luje / hashCode

Method hashCode

lib/java/net/URI.java:1272–1278  ·  view source on GitHub ↗

Gets the hashcode value of this URI instance. @return the appropriate hashcode value.

()

Source from the content-addressed store, hash-verified

1270 * @return the appropriate hashcode value.
1271 */
1272 @Override
1273 public int hashCode() {
1274 if (hash == -1) {
1275 hash = getHashString().hashCode();
1276 }
1277 return hash;
1278 }
1279
1280 /**
1281 * Indicates whether this URI is absolute, which means that a scheme part is

Callers

nothing calls this directly

Calls 2

getHashStringMethod · 0.95
hashCodeMethod · 0.65

Tested by

no test coverage detected