mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
9 lines
191 B
Java
9 lines
191 B
Java
// "Use removal by object" "true-preview"
|
|
import java.util.List;
|
|
|
|
class Test {
|
|
void test(List<String> list, String key) {
|
|
int idx = list.indexOf(key);
|
|
list.r<caret>emove(idx);
|
|
}
|
|
} |