compareTo

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

Compares this JvmMetadataVersion object with another JvmMetadataVersion object.

Comparison is based on integer values of version parts with major being most significant one, then minor, and finally patch.

Return

a negative integer, zero, or a positive integer if this JvmMetadataVersion object is less than, equal to, or greater than other.