BrightSide Workbench Full Report + Source Code
org.turro.fieldit.FieldItComparator Class Reference
Inheritance diagram for org.turro.fieldit.FieldItComparator:
Collaboration diagram for org.turro.fieldit.FieldItComparator:

Public Member Functions

int compare (FieldIt o1, FieldIt o2)
 

Detailed Description

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

Definition at line 29 of file FieldItComparator.java.

Member Function Documentation

◆ compare()

int org.turro.fieldit.FieldItComparator.compare ( FieldIt  o1,
FieldIt  o2 
)

Definition at line 32 of file FieldItComparator.java.

32  {
33  int c = CompareUtil.compare(o1.getOrder(), o2.getOrder());
34  if(c == 0) {
35  c = CompareUtil.compare(o1.getName(), o2.getName());
36  }
37  if(c == 0) {
38  c = CompareUtil.compare(o1.getId(), o2.getId());
39  }
40  return c;
41  }
Here is the call graph for this function:

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