@@ -0,0 +1,885 @@
+import java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic class SelectionSort%3CT extends Comparable%3CT%3E%3E implements Sort%3CT%3E %7B%0A    @Override%0A    public List%3CT%3E sort(List%3CT%3E list) %7B%0A        if (list == null)%0A            throw new NullPointerException();%0A        if (list.size() == 0)%0A            throw new IndexOutOfBoundsException();%0A%0A        List%3CT%3E input = new ArrayList%3C%3E(list);%0A        List%3CT%3E result = new ArrayList%3C%3E();%0A%0A        for (int j = 0; j %3C input.size(); j++) %7B%0A            T min = input.get(0);%0A            int positionMin = 0;%0A            for (int i = 0; i %3C input.size(); i++) %7B%0A                if (min.compareTo(input.get(i)) %3E 0) %7B%0A                    min = input.get(i);%0A                    positionMin = i;%0A                %7D%0A            %7D%0A            result.add(min);%0A            input.remove(positionMin);%0A            j--;%0A        %7D%0A%0A        return result;%0A    %7D%0A%7D%0A

add Selection sort