Mercurial > hg > Members > tatsuki > functionaljava-master > core
annotate src/main/java/fj/function/Try0.java @ 0:fe80c1edf1be
add getLoop
author | tatsuki |
---|---|
date | Fri, 20 Mar 2015 21:04:03 +0900 |
parents | |
children |
rev | line source |
---|---|
0 | 1 package fj.function; |
2 | |
3 /** | |
4 * A product of <code>A</code> which may throw an <code>Exception</code>. | |
5 * | |
6 * Used to instantiate a lambda that may throw an <code>Exception</code> before converting to a <code>P1</code>. | |
7 * | |
8 * @see fj.Try#f | |
9 * @version %build.number% | |
10 */ | |
11 | |
12 public interface Try0<A, Z extends Exception> { | |
13 | |
14 A f() throws Z; | |
15 | |
16 } |