PranilDahal / Eagle-Post

Eagle-Post: Social Media Software Project - ACM Cal State LA
11 stars 2 forks source link

Create a method in SsuFactory that sorts based on date #32

Closed calstatelaacm closed 5 years ago

calstatelaacm commented 5 years ago

Inside SsuFactory.java, create a method: (Its already been created, you just need to fill it out.)

Look at https://stackoverflow.com/questions/5927109/sort-objects-in-arraylist-by-date for an idea. Implement your own if you want to.

PranilDahal commented 5 years ago

Basic implementation provided using Collections.reverse() in the ResultSet ArrayList.