BrightSide Workbench Full Report + Source Code
org.turro.financials.model.AccountComparator Class Reference
Inheritance diagram for org.turro.financials.model.AccountComparator:
Collaboration diagram for org.turro.financials.model.AccountComparator:

Public Member Functions

int compare (Account o1, Account o2)
 

Detailed Description

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

Definition at line 27 of file AccountComparator.java.

Member Function Documentation

◆ compare()

int org.turro.financials.model.AccountComparator.compare ( Account  o1,
Account  o2 
)

Definition at line 30 of file AccountComparator.java.

30  {
31  if(o1 != null && o2 != null) {
32  return o1.getId().compareTo(o2.getId());
33  }
34  return 0;
35  }
Here is the call graph for this function:

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