
com.amazonaws.services.lambda.runtime.serialization.util.Functions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-lambda-java-serialization Show documentation
Show all versions of aws-lambda-java-serialization Show documentation
Serialization logic for the AWS Lambda Java Runtime
The newest version!
/* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
package com.amazonaws.services.lambda.runtime.serialization.util;
/**
* Interfaces for reflective function calls
* R functions return a type R with n number of arguments
* V functions are void
* A generics represent arguments for a function handle
*/
public final class Functions {
private Functions() {}
public interface R0 {
public R call();
}
public interface R1 {
public R call(A1 arg1);
}
public interface R2 {
public R call(A1 arg1, A2 arg2);
}
public interface R3 {
public R call(A1 arg1, A2 arg2, A3 arg3);
}
public interface R4 {
public R call(A1 arg1, A2 arg2, A3 arg3, A4 arg4);
}
public interface R5 {
public R call(A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5);
}
public interface R9 {
public R call(A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5, A6 arg6, A7 arg7, A8 arg8, A9 arg9);
}
public interface V0 {
public void call();
}
public interface V1 {
public void call(A1 arg1);
}
public interface V2 {
public void call(A1 arg1, A2 arg2);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy