first commit
This commit is contained in:
12
hrmsEjb/net/sf/jasperreports/engine/fill/JRYComparator.java
Normal file
12
hrmsEjb/net/sf/jasperreports/engine/fill/JRYComparator.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package net.sf.jasperreports.engine.fill;
|
||||
|
||||
import java.util.Comparator;
|
||||
import net.sf.jasperreports.engine.JRElement;
|
||||
|
||||
public class JRYComparator implements Comparator {
|
||||
public int compare(Object obj1, Object obj2) {
|
||||
JRElement elem1 = (JRElement)obj1;
|
||||
JRElement elem2 = (JRElement)obj2;
|
||||
return elem1.getY() - elem2.getY();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user