Guest User

Untitled

a guest
Oct 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public static List<Double> multiply(final Supplier<Double> supplier, final List<Double> a) {
  2. return a.map(Doubles.multiply.andThen(new F<F<Double, Double>, Double>() {
  3. @Override
  4. public Double f(F<Double, Double> a) {
  5. return a.f(supplier.get());
  6. }
  7. }));
  8. }
Add Comment
Please, Sign In to add comment