mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 12:20:55 +07:00
15 lines
476 B
Java
15 lines
476 B
Java
import java.util.stream.Collectors;
|
|
import java.util.stream.Stream;
|
|
|
|
class Test {
|
|
public static void processDifference(final Stream<String> stream, final Stream<String> cells) {
|
|
stream.map(rule -> {
|
|
try {
|
|
return cells.collect(Collectors.toMap(c -> c, null));
|
|
} finally {
|
|
System.out.println(<error descr="',' or ')' expected"><error descr="Expression expected">;</error></error><error descr="Unexpected token">)</error>;
|
|
}
|
|
});
|
|
}
|
|
|
|
} |