mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
9 lines
193 B
Java
9 lines
193 B
Java
// "Wrap 'integers' with 'HashSet'" "true-preview"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
void testComparator() {
|
|
var integers = new HashSet<>(Set.of(4, 3, 2, 1));
|
|
integers.add(123);
|
|
}
|
|
} |