|
19 | 19 | package kotlin.jvm.functions
|
20 | 20 |
|
21 | 21 | /** A function that takes 0 arguments. */
|
22 |
| -interface Function0<out R> : Function<R> { |
| 22 | +public interface Function0<out R> : Function<R> { |
23 | 23 | /** Invokes the function. */
|
24 |
| - operator fun invoke(): R |
| 24 | + public operator fun invoke(): R |
25 | 25 | }
|
26 | 26 | /** A function that takes 1 argument. */
|
27 |
| -interface Function1<in P1, out R> : Function<R> { |
| 27 | +public interface Function1<in P1, out R> : Function<R> { |
28 | 28 | /** Invokes the function with the specified argument. */
|
29 |
| - operator fun invoke(p1: P1): R |
| 29 | + public operator fun invoke(p1: P1): R |
30 | 30 | }
|
31 | 31 | /** A function that takes 2 arguments. */
|
32 |
| -interface Function2<in P1, in P2, out R> : Function<R> { |
| 32 | +public interface Function2<in P1, in P2, out R> : Function<R> { |
33 | 33 | /** Invokes the function with the specified arguments. */
|
34 |
| - operator fun invoke(p1: P1, p2: P2): R |
| 34 | + public operator fun invoke(p1: P1, p2: P2): R |
35 | 35 | }
|
36 | 36 | /** A function that takes 3 arguments. */
|
37 |
| -interface Function3<in P1, in P2, in P3, out R> : Function<R> { |
| 37 | +public interface Function3<in P1, in P2, in P3, out R> : Function<R> { |
38 | 38 | /** Invokes the function with the specified arguments. */
|
39 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3): R |
| 39 | + public operator fun invoke(p1: P1, p2: P2, p3: P3): R |
40 | 40 | }
|
41 | 41 | /** A function that takes 4 arguments. */
|
42 |
| -interface Function4<in P1, in P2, in P3, in P4, out R> : Function<R> { |
| 42 | +public interface Function4<in P1, in P2, in P3, in P4, out R> : Function<R> { |
43 | 43 | /** Invokes the function with the specified arguments. */
|
44 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4): R |
| 44 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4): R |
45 | 45 | }
|
46 | 46 | /** A function that takes 5 arguments. */
|
47 |
| -interface Function5<in P1, in P2, in P3, in P4, in P5, out R> : Function<R> { |
| 47 | +public interface Function5<in P1, in P2, in P3, in P4, in P5, out R> : Function<R> { |
48 | 48 | /** Invokes the function with the specified arguments. */
|
49 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5): R |
| 49 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5): R |
50 | 50 | }
|
51 | 51 | /** A function that takes 6 arguments. */
|
52 |
| -interface Function6<in P1, in P2, in P3, in P4, in P5, in P6, out R> : Function<R> { |
| 52 | +public interface Function6<in P1, in P2, in P3, in P4, in P5, in P6, out R> : Function<R> { |
53 | 53 | /** Invokes the function with the specified arguments. */
|
54 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6): R |
| 54 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6): R |
55 | 55 | }
|
56 | 56 | /** A function that takes 7 arguments. */
|
57 |
| -interface Function7<in P1, in P2, in P3, in P4, in P5, in P6, in P7, out R> : Function<R> { |
| 57 | +public interface Function7<in P1, in P2, in P3, in P4, in P5, in P6, in P7, out R> : Function<R> { |
58 | 58 | /** Invokes the function with the specified arguments. */
|
59 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7): R |
| 59 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7): R |
60 | 60 | }
|
61 | 61 | /** A function that takes 8 arguments. */
|
62 |
| -interface Function8<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, out R> : Function<R> { |
| 62 | +public interface Function8<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, out R> : Function<R> { |
63 | 63 | /** Invokes the function with the specified arguments. */
|
64 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8): R |
| 64 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8): R |
65 | 65 | }
|
66 | 66 | /** A function that takes 9 arguments. */
|
67 |
| -interface Function9<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, out R> : Function<R> { |
| 67 | +public interface Function9<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, out R> : Function<R> { |
68 | 68 | /** Invokes the function with the specified arguments. */
|
69 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9): R |
| 69 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9): R |
70 | 70 | }
|
71 | 71 | /** A function that takes 10 arguments. */
|
72 |
| -interface Function10<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, out R> : Function<R> { |
| 72 | +public interface Function10<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, out R> : Function<R> { |
73 | 73 | /** Invokes the function with the specified arguments. */
|
74 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10): R |
| 74 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10): R |
75 | 75 | }
|
76 | 76 | /** A function that takes 11 arguments. */
|
77 |
| -interface Function11<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, out R> : Function<R> { |
| 77 | +public interface Function11<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, out R> : Function<R> { |
78 | 78 | /** Invokes the function with the specified arguments. */
|
79 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11): R |
| 79 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11): R |
80 | 80 | }
|
81 | 81 | /** A function that takes 12 arguments. */
|
82 |
| -interface Function12<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, out R> : Function<R> { |
| 82 | +public interface Function12<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, out R> : Function<R> { |
83 | 83 | /** Invokes the function with the specified arguments. */
|
84 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12): R |
| 84 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12): R |
85 | 85 | }
|
86 | 86 | /** A function that takes 13 arguments. */
|
87 |
| -interface Function13<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, out R> : Function<R> { |
| 87 | +public interface Function13<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, out R> : Function<R> { |
88 | 88 | /** Invokes the function with the specified arguments. */
|
89 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13): R |
| 89 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13): R |
90 | 90 | }
|
91 | 91 | /** A function that takes 14 arguments. */
|
92 |
| -interface Function14<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, out R> : Function<R> { |
| 92 | +public interface Function14<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, out R> : Function<R> { |
93 | 93 | /** Invokes the function with the specified arguments. */
|
94 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14): R |
| 94 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14): R |
95 | 95 | }
|
96 | 96 | /** A function that takes 15 arguments. */
|
97 |
| -interface Function15<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, out R> : Function<R> { |
| 97 | +public interface Function15<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, out R> : Function<R> { |
98 | 98 | /** Invokes the function with the specified arguments. */
|
99 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15): R |
| 99 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15): R |
100 | 100 | }
|
101 | 101 | /** A function that takes 16 arguments. */
|
102 |
| -interface Function16<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, out R> : Function<R> { |
| 102 | +public interface Function16<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, out R> : Function<R> { |
103 | 103 | /** Invokes the function with the specified arguments. */
|
104 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16): R |
| 104 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16): R |
105 | 105 | }
|
106 | 106 | /** A function that takes 17 arguments. */
|
107 |
| -interface Function17<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, out R> : Function<R> { |
| 107 | +public interface Function17<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, out R> : Function<R> { |
108 | 108 | /** Invokes the function with the specified arguments. */
|
109 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17): R |
| 109 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17): R |
110 | 110 | }
|
111 | 111 | /** A function that takes 18 arguments. */
|
112 |
| -interface Function18<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, out R> : Function<R> { |
| 112 | +public interface Function18<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, out R> : Function<R> { |
113 | 113 | /** Invokes the function with the specified arguments. */
|
114 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18): R |
| 114 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18): R |
115 | 115 | }
|
116 | 116 | /** A function that takes 19 arguments. */
|
117 |
| -interface Function19<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, out R> : Function<R> { |
| 117 | +public interface Function19<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, out R> : Function<R> { |
118 | 118 | /** Invokes the function with the specified arguments. */
|
119 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19): R |
| 119 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19): R |
120 | 120 | }
|
121 | 121 | /** A function that takes 20 arguments. */
|
122 |
| -interface Function20<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, in P20, out R> : Function<R> { |
| 122 | +public interface Function20<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, in P20, out R> : Function<R> { |
123 | 123 | /** Invokes the function with the specified arguments. */
|
124 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19, p20: P20): R |
| 124 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19, p20: P20): R |
125 | 125 | }
|
126 | 126 | /** A function that takes 21 arguments. */
|
127 |
| -interface Function21<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, in P20, in P21, out R> : Function<R> { |
| 127 | +public interface Function21<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, in P20, in P21, out R> : Function<R> { |
128 | 128 | /** Invokes the function with the specified arguments. */
|
129 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19, p20: P20, p21: P21): R |
| 129 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19, p20: P20, p21: P21): R |
130 | 130 | }
|
131 | 131 | /** A function that takes 22 arguments. */
|
132 |
| -interface Function22<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, in P20, in P21, in P22, out R> : Function<R> { |
| 132 | +public interface Function22<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, in P18, in P19, in P20, in P21, in P22, out R> : Function<R> { |
133 | 133 | /** Invokes the function with the specified arguments. */
|
134 |
| - operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19, p20: P20, p21: P21, p22: P22): R |
| 134 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, p19: P19, p20: P20, p21: P21, p22: P22): R |
135 | 135 | }
|
0 commit comments