io.p8e.proxy.FunctionalInterfaces.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of p8e-sdk Show documentation
Show all versions of p8e-sdk Show documentation
A collection of services and libraries that iteract and run Provenance Java based contracts.
package io.p8e.proxy
import com.google.protobuf.Message
import io.p8e.spec.P8eContract
@FunctionalInterface
interface Function {
fun apply(t: IN): OUT
}
@FunctionalInterface
interface Function1 {
fun apply(t: IN, arg: ARG1?): OUT
}
@FunctionalInterface
interface Function2 {
fun apply(t: IN, arg1: ARG1?, arg2: ARG2?): OUT
}
@FunctionalInterface
interface Function3 {
fun apply(t: IN, arg1: ARG1?, arg2: ARG2?, arg3: ARG3?): OUT
}
@FunctionalInterface
interface Function4 {
fun apply(t: IN, arg1: ARG1?, arg2: ARG2?, arg3: ARG3?, arg4: ARG4?): OUT
}
@FunctionalInterface
interface Function5 {
fun apply(t: IN, arg1: ARG1?, arg2: ARG2?, arg3: ARG3?, arg4: ARG4?, arg5: ARG5?): OUT
}
@FunctionalInterface
interface Function6 {
fun apply(t: IN, arg1: ARG1?, arg2: ARG2?, arg3: ARG3?, arg4: ARG4?, arg5: ARG5?, arg6: ARG6?): OUT
}
@FunctionalInterface
interface Function7 {
fun apply(t: IN, arg1: ARG1?, arg2: ARG2?, arg3: ARG3?, arg4: ARG4?, arg5: ARG5?, arg6: ARG6?, arg7: ARG7?): OUT
}