BrightSide Workbench Full Report + Source Code
org.turro.dossier.issue.IssueDetailComparator Class Reference
Inheritance diagram for org.turro.dossier.issue.IssueDetailComparator:
Collaboration diagram for org.turro.dossier.issue.IssueDetailComparator:

Public Member Functions

int compare (Object o1, Object o2)
 

Detailed Description

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

Definition at line 34 of file IssueDetailComparator.java.

Member Function Documentation

◆ compare()

int org.turro.dossier.issue.IssueDetailComparator.compare ( Object  o1,
Object  o2 
)

Definition at line 37 of file IssueDetailComparator.java.

37  {
38  int result = CompareUtil.compare(getDate(o1), getDate(o2));
39  if(result == 0) {
40  result = CompareUtil.compare(getDescription(o1), getDescription(o2));
41  }
42  if(result == 0) {
43  result = CompareUtil.compare(getId(o1), getId(o2));
44  }
45  return result;
46  }

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