◆ ContractUsualSet()
org.turro.financials.model.contract.ContractUsualSet.ContractUsualSet |
( |
Collection<? extends Contract > |
c, |
|
|
final boolean |
partial, |
|
|
String |
path |
|
) |
| |
Definition at line 31 of file ContractUsualSet.java.
32 super(
new UsualUsageComparator<Contract>(path) {
34 public String getIdentifier(Contract v) {
35 return "" + v.getId();
39 public int compare(Contract o1, Contract o2) {
40 int r = super.compare(o1, o2);
43 r = o1.getPartialDescription().compareTo(o2.getPartialDescription());
45 r = o1.getFullDescription().compareTo(o2.getFullDescription());
51 if(c !=
null) addAll(c);
The documentation for this class was generated from the following file: