
test.net.ob3d.domainmodel.RatingEntryComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neodatis-odb Show documentation
Show all versions of neodatis-odb Show documentation
The NeoDatis Object Database
package net.ob3d.domainmodel;
import java.util.Comparator;
public class RatingEntryComparator implements Comparator {
public int compare(RatingEntry r1, RatingEntry r2) {
// TODO Auto-generated method stub
if (r1 == null || r2 == null)
return 0;
return r1.getPosition() - r2.getPosition();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy