Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasIntersection (0.18 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

     * likelihood of an intersection so great, that it is not worth the CPU cost of sorting or the
     * memory cost of hashing.
     */
    internal fun Array<String>.hasIntersection(
      other: Array<String>?,
      comparator: Comparator<in String>,
    ): Boolean {
      if (isEmpty() || other == null || other.isEmpty()) {
        return false
      }
      for (a in this) {
        for (b in other) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top