Mercurial > hg > Members > tatsuki > functionaljava-master > core
view src/main/java/fj/function/Try1.java @ 0:fe80c1edf1be
add getLoop
author | tatsuki |
---|---|
date | Fri, 20 Mar 2015 21:04:03 +0900 |
parents | |
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; }