org.sonatype.gshell.util
Interface Function<R,V,E extends Throwable>


public interface Function<R,V,E extends Throwable>

A task that takes a value, returns a result and can throw an exception.

Since:
2.4
Author:
Jason Dillon

Method Summary
 R invoke(V value)
           
 

Method Detail

invoke

R invoke(V value)
         throws E extends Throwable
Throws:
E extends Throwable


Copyright © 2008-2011 Sonatype. All Rights Reserved.