Interface ArraySorter

All Known Implementing Classes:
ArraysSort, BubbleSort, InsertionSort, QuickSort, SelectionSort

public interface ArraySorter
Interface for array sort implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    sort(String[] array)
    This will sort the supplied string array.
    void
    This will sort the supplied string array.
  • Method Details

    • sort

      default void sort(String[] array)
      This will sort the supplied string array.
      Parameters:
      array - To sort
    • sort

      void sort(String[] array, Comparator<CharSequence> c)
      This will sort the supplied string array.
      Parameters:
      array - To sort
      c - Comparator to sort with