All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.p8e.proxy.FunctionalInterfaces.kt Maven / Gradle / Ivy

Go to download

A collection of services and libraries that iteract and run Provenance Java based contracts.

There is a newer version: 0.9.0-grpc
Show newest version
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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy