For the complete documentation index, see llms.txt. This page is also available as Markdown.

Arrays.sort()

  • Has different method for each primitive type.

  • Has a method for data types that implement Comparable.

  • Has a method that uses a Comparator.

  • Uses tuned quicksort for primitive types; tuned mergesort for objects.

Last updated