mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 12:50:56 +07:00
15 lines
351 B
Java
15 lines
351 B
Java
|
|
import java.util.Collection;
|
|
import java.util.Set;
|
|
import java.util.function.Function;
|
|
|
|
class Test {
|
|
{
|
|
Set<Class<? extends Throwable>> exceptions = null;
|
|
transform(exceptions, x -> x.getSimpleName());
|
|
}
|
|
|
|
public static <F, T> Collection<T> transform(Collection<F> fromCollection, Function<? super F, T> function) {
|
|
return null;
|
|
}
|
|
} |