Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (description1 == null && description2 == null ) {
- return name1.compare(name2);
- }
- if (descrition1 == nul) {
- return 1;
- }
- if (desscription2 == null) {
- return -1;
- }
- return descrition1.compare(description2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement