View Single Post
  #2 (permalink)  
Old November 3rd, 2016, 05:55 AM
Aaliyadev Aaliyadev is offline
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sort an Object with Comparable. To sort an Object by its property, you have to make the Object implement the Comparable interface and override the compareTo() method
Reply With Quote