JavaAlgorithms/Sorts/SortAlgorithm.java
nik 3c40937c66 Created general interface for most algorithms
Created utils methods
Refactored ShellSort
2018-04-09 12:05:41 +03:00

14 lines
228 B
Java

package Sorts;
/**
* The common interface of most algorithms
*
* @author Podshivalov Nikita (https://github.com/nikitap492)
*
**/
public interface SortAlgorithm {
<T extends Comparable<T>> T[] sort(T[] unsorted);
}