Month: November 2013
Deep Understanding of Arrays.sort()
Arrays.sort(T[], Comparator < ? super T > c) is a method for sorting user-defined object array. The official Java Doc briefly describe what it does, but not much for deep understanding. In this post, I will walk though the key information for deeper understanding of this method. 1. How to Use Arrays.sort(): A Simple Example … Read more