home *** CD-ROM | disk | FTP | other *** search
- package org.apache.cocoon.samples.flow.java;
-
- import java.util.Comparator;
- import org.apache.cocoon.components.flow.java.Continuable;
- import org.apache.cocoon.ojb.samples.bean.Employee;
-
- public class PersistenceFlow$EmployeeComparator implements Comparator, Continuable {
- // $FF: synthetic field
- private final PersistenceFlow this$0;
-
- public PersistenceFlow$EmployeeComparator(PersistenceFlow this$0) {
- this.this$0 = this$0;
- }
-
- public int compare(Object o1, Object o2) {
- return ((Employee)o1).getId() - ((Employee)o2).getId();
- }
-
- public boolean equals(Object obj) {
- return true;
- }
- }
-