I have a LinkedList<Individual> where Individual is a class that has a field processorTime.
It is needed to sort this LinkedList (descending order) basing on a function estimate(processorTime) which returns integers.
Please, tell me how can I do this?
Check this guide here:
http://leepoint.net/notes-java/data/collections/comparators.html
Quotations from the site:
Pasted code: