view src/main/java/fj/function/Try1.java @ 4:19c719aba746 default tip

change getLoop return value
author tatsuki
date Mon, 20 Apr 2015 08:09:22 +0900
parents fe80c1edf1be
children
line wrap: on
line source

package fj.function;

/**
 * A transformation function from <code>A</code> to <code>B</code> that may throw an <code>Exception</code>.
 *
 * Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F</code>.
 *
 * @see fj.Try#f
 * @version %build.number%
 */

public interface Try1<A, B, Z extends Exception> {

    B f(A a) throws Z;

}