compareTo

open operator override fun compareTo(other: DeepLinkMatcher.MatchResult<T>): Int

Compares this matcher with the other for sorting order.

Returns:

  • 1 if this result is bigger

  • 0 if they are equal

  • -1 if this result is smaller

Parameters

other

the other MatchResult to compare with

See also

for matching priority