Uses of Interface
me.saro.kit.functions.ThrowableFunction
| Package | Description |
|---|---|
| me.saro.kit | |
| me.saro.kit.functions | |
| me.saro.kit.webs |
-
Uses of ThrowableFunction in me.saro.kit
Methods in me.saro.kit with parameters of type ThrowableFunction Modifier and Type Method Description static <T, R> java.util.List<R>Threads. executeAllThreads(int nThreads, java.util.List<T> list, ThrowableFunction<T,R> map)execute all threadsstatic <T, R> java.util.List<R>Threads. executeAllThreads(java.util.concurrent.ExecutorService executorService, java.util.List<T> list, ThrowableFunction<T,R> map)execute all threads WARNING : this method does not shutdown to ExecutorService instancestatic <R> RFiles. lines(java.io.File file, java.lang.String charset, ThrowableFunction<java.util.stream.Stream<java.lang.String>,R> process)text file to lines in the process functionstatic <R> RStreams. lines(java.io.InputStream is, java.lang.String charset, ThrowableFunction<java.util.stream.Stream<java.lang.String>,R> process)input stream to lines in the process function -
Uses of ThrowableFunction in me.saro.kit.functions
Methods in me.saro.kit.functions with parameters of type ThrowableFunction Modifier and Type Method Description static <T, R> java.util.function.Function<T,R>ThrowableFunction. wrap(ThrowableFunction<T,R> function)throws Exception lambda to throws RuntimeException lambda -
Uses of ThrowableFunction in me.saro.kit.webs
Methods in me.saro.kit.webs with parameters of type ThrowableFunction Modifier and Type Method Description default <R> SimpleWebResult<R>SimpleWeb. toCustom(ThrowableFunction<java.io.InputStream,R> function)to Custom result<R> SimpleWebResult<R>SimpleWeb. toCustom(SimpleWebResult<R> result, ThrowableFunction<java.io.InputStream,R> function)to Custom result<R> SimpleWebResult<R>SimpleWebImpl. toCustom(SimpleWebResult<R> result, ThrowableFunction<java.io.InputStream,R> function)to Custom result