compareTo

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


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

Compares this Version to other.

Parameters

ignoreIdx

Specifies after which version index the versions should not be compared. (Example: with ignoreIdx = 2, 1.0.1 and 1.0.2 would be considered equal.)