org.nkjmlab.sorm4j.common.FunctionHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sorm4j Show documentation
Show all versions of sorm4j Show documentation
Simple micro Object-Relation Mapper for Java
package org.nkjmlab.sorm4j.common;
/**
* Interface for handling with a return value.
*
* @param
*/
@FunctionalInterface
public interface FunctionHandler {
/**
* Performs this operation on the given argument and return a value.
*
* @param t the input argument
* @return
* @throws Exception
*/
R apply(T t) throws Exception;
}