comparison src/main/java/fj/function/Try1.java @ 0:fe80c1edf1be

add getLoop
author tatsuki
date Fri, 20 Mar 2015 21:04:03 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:fe80c1edf1be
1 package fj.function;
2
3 /**
4 * A transformation function from <code>A</code> to <code>B</code> that may throw an <code>Exception</code>.
5 *
6 * Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F</code>.
7 *
8 * @see fj.Try#f
9 * @version %build.number%
10 */
11
12 public interface Try1<A, B, Z extends Exception> {
13
14 B f(A a) throws Z;
15
16 }