Class ArraysSort

    • Constructor Detail

      • ArraysSort

        public ArraysSort()
    • Method Detail

      • sort

        public void sort​(String[] array)
        Description copied from interface: ArraySorter
        This will sort the supplied string array.
        Specified by:
        sort in interface ArraySorter
        Parameters:
        array - To sort
      • sort

        public void sort​(String[] array,
                         Comparator<String> c)
        Description copied from interface: ArraySorter
        This will sort the supplied string array.
        Specified by:
        sort in interface ArraySorter
        Parameters:
        array - To sort
        c - Comparator to sort with