compare

open fun compare(@NonNull @NotNull x: @NotNull GuidValue, @NonNull @NotNull y: @NotNull GuidValue): Int(source)

Compare two wrapped values for ordering.

Return

-1 if x.value < y.value, 0 if x.value == y.value, or 1 if x.value > y.value.

Parameters

x

First object for comparison.

y

Second object for comparison.