Tag Archives: sorting

File Sorting based on parameters

Many times our file directories are full of files that we may like to be sorted in some particular manner. Below is the code to sort theĀ files as per the following ways: Month Sorting Alphabetic Sorting Music Album Sorting Extension … Continue reading

Posted in Java, Open Source | Tagged , , , , , , | Leave a comment

Comparable vs Comparator

Comparable vs Comparator !!! There are many articles available on internet for this. But still I would write something about it. What when and why? A Comparable class is a class, which can be compared with the objects of its … Continue reading

Posted in Java, Server Side Programming | Tagged , , , | Leave a comment