mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
10 lines
200 B
Java
10 lines
200 B
Java
import java.util.function.Predicate;
|
|
|
|
class Test {
|
|
Predicate<String> p = obj -> {
|
|
if (obj == null) return false;
|
|
String temp = obj.trim();
|
|
return !temp.isEmpty();
|
|
};
|
|
}
|