mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
9 lines
221 B
Java
9 lines
221 B
Java
// "Wrap 'integers' with 'ArrayList'" "true-preview"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
void testComparator() {
|
|
List<Integer> integers = List.of(4, 3, 2, 1);
|
|
integers.so<caret>rt(Comparator.naturalOrder());
|
|
}
|
|
} |