MCPcopy Create free account
hub / github.com/YujiSoftware/JDK1.0 / hostsEqual

Method hostsEqual

src/java/net/URL.java:264–278  ·  view source on GitHub ↗

Compares the host components of two URLs. @param h1 the URL of the first host to compare @param h2 the URL of the second host to compare @return true if and only if they are equal, false otherwise. @exception UnknownHostException If an unknown host is found.

(String h1, String h2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sameFileMethod · 0.95

Calls 3

getByNameMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected