Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nextRouteIndex (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

      }
    
      /** A set of selected Routes. */
      class Selection(val routes: List<Route>) {
        private var nextRouteIndex = 0
    
        operator fun hasNext(): Boolean = nextRouteIndex < routes.size
    
        operator fun next(): Route {
          if (!hasNext()) throw NoSuchElementException()
          return routes[nextRouteIndex++]
        }
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top