compareTo

open operator override fun compareTo(other: StateRevision): Int(source)

Compares this revision with other in ascending numeric order.

Return

a negative number, zero, or a positive number when this revision is earlier than, equal to, or later than other.

Parameters

other

the revision to compare.