OrRouteSelector

data class OrRouteSelector : RouteSelector

Evaluates a route as a result of the OR operation using two other selectors

Parameters

first - is a first selector

second - is a second selector

Constructors

<init>

OrRouteSelector(first: RouteSelector, second: RouteSelector)

Evaluates a route as a result of the OR operation using two other selectors

Properties

first

val first: RouteSelector

is a first selector

second

val second: RouteSelector

is a second selector

Inherited Properties

quality

val quality: Double

indicates how good this selector is compared to siblings

Functions

evaluate

fun evaluate(
    context: RoutingResolveContext,
    segmentIndex: Int
): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex

toString

fun toString(): String