feat(sorting): add SortStrategy interface
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package sorting;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
public interface SortStrategy<T> {
|
||||
void sort(MyList<T> list, Comparator<T> comparator);
|
||||
}
|
||||
Reference in New Issue
Block a user