Saturday, 31 August 2013

Why does arralist not include a sort function?

Why does arralist not include a sort function?

It seems like a common, but deliberately not incorporated functionality.
If arraylist had a sort() function life would be easy. What was the
thinking to exclude sort() and instead make the user use Comparator ?

No comments:

Post a Comment