BrightSide Workbench Full Report + Source Code
org.turro.scheduler.motor.ScheduledTaskComparator Class Reference
Inheritance diagram for org.turro.scheduler.motor.ScheduledTaskComparator:
Collaboration diagram for org.turro.scheduler.motor.ScheduledTaskComparator:

Public Member Functions

int compare (ScheduledTask o1, ScheduledTask o2)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 29 of file ScheduledTaskComparator.java.

Member Function Documentation

◆ compare()

int org.turro.scheduler.motor.ScheduledTaskComparator.compare ( ScheduledTask  o1,
ScheduledTask  o2 
)

Definition at line 32 of file ScheduledTaskComparator.java.

32  {
33  int result = CompareUtil.compare(o1.getName(), o2.getName());
34  if(result == 0) {
35  result = CompareUtil.compare(o1.getDescription(), o2.getDescription());
36  }
37  if(result == 0) {
38  result = CompareUtil.compare(o1.getData(), o2.getData());
39  }
40  if(result == 0) {
41  result = CompareUtil.compare(o1.getImplementation(), o2.getImplementation());
42  }
43  return result;
44  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: