- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toMutableList (0.05 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
this.settings = Settings() } internal constructor(mockResponse: MockResponse) { this.inTunnel = mockResponse.inTunnel this.informationalResponses = mockResponse.informationalResponses.toMutableList() this.status = mockResponse.status this.headers = mockResponse.headers.newBuilder() this.trailers = mockResponse.trailers.newBuilder() this.bodyVar = mockResponse.body
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
return headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L } /** Returns an immutable copy of this. */ internal fun <T> List<T>.toImmutableList(): List<T> { return Collections.unmodifiableList(toMutableList()) } /** Returns an immutable list containing [elements]. */ @SafeVarargs internal fun <T> immutableListOf(vararg elements: T): List<T> { return Collections.unmodifiableList(listOf(*elements.clone())) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0)