[ 
https://issues.apache.org/jira/browse/LANG-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Verhas closed LANG-1477.
------------------------------
    Resolution: Fixed

> Implement castToXXX in Functions class
> --------------------------------------
>
>                 Key: LANG-1477
>                 URL: https://issues.apache.org/jira/browse/LANG-1477
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 3.9
>            Reporter: Peter Verhas
>            Priority: Minor
>              Labels: newbie
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Proposal to implement functional interface conversion functions in the class 
> {{org.apache.commons.lang3.Functions}} that convert {{FailableXXX}} to 
> {{XXX}}.
> For example, the FailableRunnable can be converted with the method:
>  
> {code:java}
> static <K extends Throwable> Runnable castToRunnable(FailableRunnable<K> s) {
>    return () -> run(s);
> }{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to