Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for builderGetOperator (0.08 sec)

  1. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

        assertThat(pairs).containsExactly("a" to "b", "c" to "d")
      }
    
      @Test fun builderGetOperator() {
        val builder = Headers.Builder()
        builder.add("a", "b")
        builder.add("c", "d")
        assertThat(builder["a"]).isEqualTo("b")
        assertThat(builder["c"]).isEqualTo("d")
        assertThat(builder["e"]).isNull()
      }
    
      @Test fun builderSetOperator() {
        val builder = Headers.Builder()
        builder["a"] = "b"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top