Class PrimUtils


  • public class PrimUtils
    extends Object
    Utilities for primitive Java data types.
    • Constructor Detail

      • PrimUtils

        public PrimUtils()
    • Method Detail

      • sort

        public static void sort​(int start,
                                int end,
                                int[] array,
                                PrimUtils.IntComparator comparator)
        Sort the integer array from "start" inclusive to "end" exclusive in ascending order, using the provided comparator. TODO: is this an unstable sort?