compareTo

open operator override fun compareTo(other: Version): Int


fun compareTo(other: Version, ignoreIdx: Int): Int

Compares this Version to other.

Parameters

ignoreIdx

Specifies the first index of the main version number that should not be compared. (ex: with ignoreIdx = 2, 1.0.1 equals 1.0.2)