Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arrays.sort( StaticObjects.getAllActiveSponsorlar,
- MobileContents.comparator);
- public class MobileContents {
- public Integer SortOrderNo;
- public static Comparator<MobileContents> comparator = new Comparator<MobileContents>() {
- public int compare(MobileContents fruit1, MobileContents fruit2) {
- return fruit1.SortOrderNo - fruit2.SortOrderNo;
- }
- };
- }
Add Comment
Please, Sign In to add comment