Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static List<Double> multiply(final Supplier<Double> supplier, final List<Double> a) {
- return a.map(Doubles.multiply.andThen(new F<F<Double, Double>, Double>() {
- @Override
- public Double f(F<Double, Double> a) {
- return a.f(supplier.get());
- }
- }));
- }
Add Comment
Please, Sign In to add comment