mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 18:06:58 +07:00
21 lines
501 B
Java
21 lines
501 B
Java
import com.google.common.collect.Iterables;
|
|
import com.google.common.base.Function;
|
|
|
|
import java.lang.String;
|
|
import java.util.Collections;
|
|
|
|
class c {
|
|
void m() {
|
|
Iterables.transf<caret>orm(Collections.emptyList(), new Function<String, String> () {
|
|
@Override
|
|
public String apply(String input) {
|
|
java.util.stream.Collectors c;
|
|
java.util.ArrayList l;
|
|
System.out.println(input);
|
|
//do something
|
|
int i = 1;
|
|
return input;
|
|
}
|
|
})
|
|
}
|
|
} |