void (String[] args) { System.out.println(testMaxComparator(Arrays.asList())); System.out.println(testMaxComparator(Arrays.asList("a", "bbb", "cc", "d", "eee"))); System.out.println(testMaxDouble(Arrays.asList())); System.out.println(testMaxDouble(Arrays.asList("a", "bbb", "cc", "d"))); System.out.println(testMinPassedComparator(Arrays.asList(), Comparator.comparing(String::length))); System.out.println(testMinPassedComparator(Arrays.asList("a", "bbb", "cc", "d", "eee"), Comparator.comparing(String::length))); System.out.println(testMinReversedComparator(Arrays.asList(), Comparator.comparing(CharSequence::length))); System.out.println(testMinReversedComparator(Arrays.asList("a", "bbb", "cc", "d", "eee"), Comparator.comparing(CharSequence::length))); System.out.println(testMinInt(Arrays.asList(), () -> -1)); System.out.println(testMinInt(Arrays.asList("a", "bbb", "cc", "d"), () -> 2)); }