mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-22 20:49:52 +07:00
15 lines
335 B
Java
15 lines
335 B
Java
import java.util.function.UnaryOperator;
|
|
|
|
class Main {
|
|
public static void main(String[] args) {
|
|
UnaryOperator<String> f1 = s -> {
|
|
System.out.println("foo");
|
|
String temp = s.trim();
|
|
return temp;
|
|
};
|
|
UnaryOperator<String> f2 = s -> {
|
|
System.out.println("foo");
|
|
return s.trim();
|
|
};
|
|
}
|
|
} |