Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for replaceFirstElement (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

        assertThat(tags[String::class]).isEqualTo("hello")
        assertThat(tags[Integer::class]).isEqualTo(5)
      }
    
      /** The implementation retains no nodes from the original linked list. */
      @Test
      fun replaceFirstElement() {
        val tags =
          EmptyTags
            .plus(String::class, "a")
            .plus(Integer::class, 5 as Integer)
            .plus(Boolean::class, true)
            .plus(String::class, "b")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top