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

Public Member Functions

int compare (ValueIt o1, ValueIt o2)
 

Detailed Description

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

Definition at line 29 of file ValueItComparator.java.

Member Function Documentation

◆ compare()

int org.turro.fieldit.ValueItComparator.compare ( ValueIt  o1,
ValueIt  o2 
)

Definition at line 32 of file ValueItComparator.java.

32  {
33  int c = CompareUtil.compare(o1.getFieldIt().getOrder(), o2.getFieldIt().getOrder());
34  if(c == 0) {
35  c = CompareUtil.compare(o1.getFieldIt().getName(), o2.getFieldIt().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: