Removed Main Method from FinnSort

This commit is contained in:
finnm 2024-12-17 13:11:05 +01:00
parent b754184272
commit b1f94636c7

View File

@ -111,13 +111,4 @@ public class FinnSort {
}
System.out.println(s);
}
public static void main(String[] args) {
Integer[] numbers = new Integer[]{24, 25, 26, 27, 28, 21, 22, 23, 18, 19, 20, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 3, 1, 2};
sort(numbers, Comparator.naturalOrder());
System.out.println("Result: ");
System.out.println(new ArrayList<>(List.of(numbers)));
}
}