- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for equalsAndHashCode (0.18 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress() val b = factory.newAddress() assertThat(b).isEqualTo(a) assertThat(b.hashCode()).isEqualTo(a.hashCode()) } @Test fun differentProxySelectorsAreDifferent() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.8K bytes - Click Count (0)