mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
8 lines
191 B
Java
8 lines
191 B
Java
import java.util.function.Predicate;
|
|
class Foo {
|
|
Predicate<String> test(int i) {
|
|
return switch (i) {
|
|
default -> <selection>String::isEmpty</selection>;
|
|
};
|
|
}
|
|
} |