Uses of Interface
me.saro.commons.function.ThrowableFunction
-
Packages that use ThrowableFunction Package Description me.saro.commons me.saro.commons.excel me.saro.commons.function me.saro.commons.web -
-
Uses of ThrowableFunction in me.saro.commons
Methods in me.saro.commons with parameters of type ThrowableFunction Modifier and Type Method Description static <T,R>
java.util.List<R>Utils. executeAllThreads(int nThreads, java.util.List<T> list, ThrowableFunction<T,R> map)execute all threadsstatic <T,R>
java.util.List<R>Utils. 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 <T> TUtils. inputStreamLineReader(java.io.InputStream inputStream, java.lang.String charset, ThrowableFunction<java.util.stream.Stream<java.lang.String>,T> lineReader)inputStream line reader
WARNING : is not auto closedstatic <T> TFiles. lineReader(java.io.File file, java.lang.String charset, ThrowableFunction<java.util.stream.Stream<java.lang.String>,T> lineReader)read line in the filestatic <T> TFiles. lineReader(java.lang.String file, java.lang.String charset, ThrowableFunction<java.util.stream.Stream<java.lang.String>,T> lineReader)read line in the filestatic <R> java.util.stream.Stream<R>Converter. toStreamByResultSet(java.sql.ResultSet resultSet, ThrowableFunction<java.sql.ResultSet,R> map)ResultSet to Stream -
Uses of ThrowableFunction in me.saro.commons.excel
Methods in me.saro.commons.excel with parameters of type ThrowableFunction Modifier and Type Method Description default <R> java.util.List<R>Excel. readPivotTable(java.lang.String startColumnName, int columnCount, int limitRowCount, ThrowableFunction<java.util.List<ExcelCell>,R> map)default <R> java.util.List<R>Excel. readPivotTable(java.lang.String startColumnName, int columnCount, ThrowableFunction<java.util.List<ExcelCell>,R> map)default <R> java.util.List<R>Excel. readTable(java.lang.String startColumnName, int columnCount, int limitRowCount, ThrowableFunction<java.util.List<ExcelCell>,R> map)default <R> java.util.List<R>Excel. readTable(java.lang.String startColumnName, int columnCount, ThrowableFunction<java.util.List<ExcelCell>,R> map) -
Uses of ThrowableFunction in me.saro.commons.function
Methods in me.saro.commons.function with parameters of type ThrowableFunction Modifier and Type Method Description static <T,R>
java.util.function.Function<T,R>ThrowableFunction. runtime(ThrowableFunction<T,R> function)throws Exception lambda to throws RuntimeException lambda -
Uses of ThrowableFunction in me.saro.commons.web
Methods in me.saro.commons.web with parameters of type ThrowableFunction Modifier and Type Method Description <R> WebResult<R>BasicWeb. toCustom(WebResult<R> result, ThrowableFunction<java.io.InputStream,R> function)to Custom resultdefault <R> WebResult<R>Web. toCustom(ThrowableFunction<java.io.InputStream,R> function)to Custom result<R> WebResult<R>Web. toCustom(WebResult<R> result, ThrowableFunction<java.io.InputStream,R> function)to Custom result
-