compareTo

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

Compares this Seed object with another Seed object. Random seeds are considered equal to other Random seeds, while Explicit seeds are compared based on their values.

Return

0 if the seeds are equal, -1 if this seed is less than the other, 1 if it's greater.

Parameters

other

The other Seed object to compare with.