ScheduledJob.opCmp

Compares two scheduled jobs, such that jobs whose next execution time is earlier, are considered greater than others.

class ScheduledJob
override
int
opCmp
(
Object other
)

Parameters

other Object

The object to compare to.

Return Value

Type: int

1 if this object is greater, -1 if this object is less, or 0 otherwise.

Meta