blob: bb33bd59d84c059918238bc9d45fcd94340f7f37 [file] [log] [blame]
Jinseong Jeon2341e612019-05-28 22:45:10 -07001// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package unused_arg_in_lambdas_jstyle;
5
6public class Lambdas {
7
8 public interface MultiFunction<R, P1, P2, P3> {
9 R get(P1 a, P2 b, P3 c);
10 }
11
12 public synchronized static <R, P1, P2, P3>
13 void acceptMultiFunction(MultiFunction<R, P1, P2, P3> s, P1 a, P2 b, P3 c) {
14 System.out.println(s.get(a, b, c));
15 }
16}