jvmMain.com.apollographql.apollo.api.internal.Function Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apollo-api-jvm Show documentation
Show all versions of apollo-api-jvm Show documentation
Apollo GraphQL API classes
package com.apollographql.apollo.api.internal;
import org.jetbrains.annotations.NotNull;
public interface Function {
/**
* Apply some calculation to the input value and return some other value.
*
* @param t the input value
* @return the output value
*/
@NotNull
R apply(@NotNull T t);
}