|
| 1 | +/* |
| 2 | + * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. |
| 3 | + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. |
| 4 | + */ |
| 5 | + |
| 6 | +// Auto-generated file. DO NOT EDIT! |
| 7 | +// Generated by: org.jetbrains.kotlin.generators.builtins.functions.GenerateFunctions |
| 8 | + |
| 9 | +package kotlin |
| 10 | + |
| 11 | +public interface Function<out R> |
| 12 | + |
| 13 | +/** A function that takes 0 arguments. */ |
| 14 | +public interface Function0<out R> : Function<R> { |
| 15 | + /** Invokes the function. */ |
| 16 | + public operator fun invoke(): R |
| 17 | +} |
| 18 | +/** A function that takes 1 argument. */ |
| 19 | +public interface Function1<in P1, out R> : Function<R> { |
| 20 | + /** Invokes the function with the specified argument. */ |
| 21 | + public operator fun invoke(p1: P1): R |
| 22 | +} |
| 23 | +/** A function that takes 2 arguments. */ |
| 24 | +public interface Function2<in P1, in P2, out R> : Function<R> { |
| 25 | + /** Invokes the function with the specified arguments. */ |
| 26 | + public operator fun invoke(p1: P1, p2: P2): R |
| 27 | +} |
| 28 | +/** A function that takes 3 arguments. */ |
| 29 | +public interface Function3<in P1, in P2, in P3, out R> : Function<R> { |
| 30 | + /** Invokes the function with the specified arguments. */ |
| 31 | + public operator fun invoke(p1: P1, p2: P2, p3: P3): R |
| 32 | +} |
| 33 | +/** A function that takes 4 arguments. */ |
| 34 | +public interface Function4<in P1, in P2, in P3, in P4, out R> : Function<R> { |
| 35 | + /** Invokes the function with the specified arguments. */ |
| 36 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4): R |
| 37 | +} |
| 38 | +/** A function that takes 5 arguments. */ |
| 39 | +public interface Function5<in P1, in P2, in P3, in P4, in P5, out R> : Function<R> { |
| 40 | + /** Invokes the function with the specified arguments. */ |
| 41 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5): R |
| 42 | +} |
| 43 | +/** A function that takes 6 arguments. */ |
| 44 | +public interface Function6<in P1, in P2, in P3, in P4, in P5, in P6, out R> : Function<R> { |
| 45 | + /** Invokes the function with the specified arguments. */ |
| 46 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6): R |
| 47 | +} |
| 48 | +/** A function that takes 7 arguments. */ |
| 49 | +public interface Function7<in P1, in P2, in P3, in P4, in P5, in P6, in P7, out R> : Function<R> { |
| 50 | + /** Invokes the function with the specified arguments. */ |
| 51 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7): R |
| 52 | +} |
| 53 | +/** A function that takes 8 arguments. */ |
| 54 | +public interface Function8<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, out R> : Function<R> { |
| 55 | + /** Invokes the function with the specified arguments. */ |
| 56 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8): R |
| 57 | +} |
| 58 | +/** A function that takes 9 arguments. */ |
| 59 | +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> { |
| 60 | + /** Invokes the function with the specified arguments. */ |
| 61 | + public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9): R |
| 62 | +} |
| 63 | +/** A function that takes 10 arguments. */ |
| 64 | +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> { |
| 65 | + /** Invokes the function with the specified arguments. */ |
| 66 | + 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 |
| 67 | +} |
| 68 | +/** A function that takes 11 arguments. */ |
| 69 | +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> { |
| 70 | + /** Invokes the function with the specified arguments. */ |
| 71 | + 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 |
| 72 | +} |
| 73 | +/** A function that takes 12 arguments. */ |
| 74 | +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> { |
| 75 | + /** Invokes the function with the specified arguments. */ |
| 76 | + 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 |
| 77 | +} |
| 78 | +/** A function that takes 13 arguments. */ |
| 79 | +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> { |
| 80 | + /** Invokes the function with the specified arguments. */ |
| 81 | + 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 |
| 82 | +} |
| 83 | +/** A function that takes 14 arguments. */ |
| 84 | +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> { |
| 85 | + /** Invokes the function with the specified arguments. */ |
| 86 | + 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 |
| 87 | +} |
| 88 | +/** A function that takes 15 arguments. */ |
| 89 | +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> { |
| 90 | + /** Invokes the function with the specified arguments. */ |
| 91 | + 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 |
| 92 | +} |
| 93 | +/** A function that takes 16 arguments. */ |
| 94 | +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> { |
| 95 | + /** Invokes the function with the specified arguments. */ |
| 96 | + 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 |
| 97 | +} |
| 98 | +/** A function that takes 17 arguments. */ |
| 99 | +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> { |
| 100 | + /** Invokes the function with the specified arguments. */ |
| 101 | + 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 |
| 102 | +} |
| 103 | +/** A function that takes 18 arguments. */ |
| 104 | +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> { |
| 105 | + /** Invokes the function with the specified arguments. */ |
| 106 | + 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 |
| 107 | +} |
| 108 | +/** A function that takes 19 arguments. */ |
| 109 | +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> { |
| 110 | + /** Invokes the function with the specified arguments. */ |
| 111 | + 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 |
| 112 | +} |
| 113 | +/** A function that takes 20 arguments. */ |
| 114 | +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> { |
| 115 | + /** Invokes the function with the specified arguments. */ |
| 116 | + 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 |
| 117 | +} |
| 118 | +/** A function that takes 21 arguments. */ |
| 119 | +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> { |
| 120 | + /** Invokes the function with the specified arguments. */ |
| 121 | + 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 |
| 122 | +} |
| 123 | +/** A function that takes 22 arguments. */ |
| 124 | +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> { |
| 125 | + /** Invokes the function with the specified arguments. */ |
| 126 | + 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 |
| 127 | +} |
0 commit comments