mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
15 lines
312 B
Java
15 lines
312 B
Java
import java.util.stream.Stream;
|
|
|
|
class Test {
|
|
private static class Destination{ }
|
|
|
|
private final Destination destination = new Destination();
|
|
|
|
public void main(Stream<String> stream, Test ref){
|
|
stream.filter(ref::notNull);
|
|
}
|
|
|
|
private boolean not<caret>Null(String it) {
|
|
return it != null;
|
|
}
|
|
} |