Advertisement
Guest User

Untitled

a guest
Mar 1st, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (description1 == null && description2 == null ) {
  2. return name1.compare(name2);
  3. }
  4. if (descrition1 == nul) {
  5.     return 1;
  6. }
  7. if (desscription2 == null) {
  8.     return -1;
  9. }
  10. return descrition1.compare(description2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement