Uses of Interface
com.landawn.abacus.util.Throwables.Function
Package
Description
-
Uses of Throwables.Function in com.landawn.abacus.util
Modifier and TypeInterfaceDescriptionstatic interface
Throwables.UnaryOperator<T,
E extends Throwable> The Interface UnaryOperator.Modifier and TypeMethodDescriptionstatic <K,
V, R, E extends Throwable>
Throwables.Function<Map.Entry<K,V>, R, E> Fn.Fnn.applyByKey
(Throwables.Function<? super K, ? extends R, E> func) static <K,
V, R, E extends Throwable>
Throwables.Function<Map.Entry<K,V>, R, E> Fn.Fnn.applyByValue
(Throwables.Function<? super V, ? extends R, E> func) static <T,
E extends Throwable>
Throwables.Function<T,Void, E> Fn.Fnn.c2f
(Throwables.Consumer<T, E> consumer) static <T,
R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.c2f
(Throwables.Consumer<T, E> consumer, R valueToReturn) static <K,
V, T, E extends Exception>
Throwables.Function<Map.Entry<K,V>, T, E> Fn.Entries.ef
(Throwables.BiFunction<? super K, ? super V, ? extends T, E> f) static <A,
B, T, R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.f
(A a, B b, Throwables.TriFunction<A, B, T, R, E> triFunction) static <A,
T, R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.f
(A a, Throwables.BiFunction<A, T, R, E> biFunction) static <T,
R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.f
(Throwables.Function<T, R, E> predicate) static <A,
B, T, R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.ff
(A a, B b, TriFunction<A, B, T, R> triFunction) static <A,
T, R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.ff
(A a, BiFunction<A, T, R> biFunction) static <T,
R, E extends Throwable>
Throwables.Function<T,R, E> static <T,
R, E extends Throwable>
Throwables.Function<T,R, E> static <T,
E extends Exception>
Throwables.Function<T,T, E> Fn.Fnn.identity()
static <K,
V, E extends Exception>
Throwables.Function<Map.Entry<K,V>, Map.Entry<V, K>, E> Fn.Fnn.inverse()
static <K,
V, E extends Exception>
Throwables.Function<Map.Entry<K,V>, K, E> Fn.Fnn.key()
static <A,
T, R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.sf
(Object mutex, A a, Throwables.BiFunction<A, T, R, E> biFunction) SynchronizedFunction
.static <T,
R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.sf
(Object mutex, Throwables.Function<T, ? extends R, E> function) SynchronizedFunction
.static <T,
E extends Exception>
Throwables.Function<T,Tuple.Tuple1<T>, E> Fn.Fnn.tuple1()
static <K,
V, E extends Exception>
Throwables.Function<Map.Entry<K,V>, V, E> Fn.Fnn.value()
Modifier and TypeMethodDescription<T,
E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.addColumn
(int columnIndex, String newColumnName, String fromColumnName, Throwables.Function<T, ?, E> func) Adds the column.<E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.addColumn
(int columnIndex, String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> func) Adds the column.<T,
E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.addColumn
(String newColumnName, String fromColumnName, Throwables.Function<T, ?, E> func) Adds the column.<E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.addColumn
(String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> func) Adds the column.<T,
E extends Exception>
voidDataSet.addColumn
(int columnIndex, String newColumnName, String fromColumnName, Throwables.Function<T, ?, E> func) Generate the new column values from the specified column by the specifiedFunction
.<E extends Exception>
voidDataSet.addColumn
(int columnIndex, String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> func) Generate the new column values from the specified columns by the specifiedFunction
.<T,
E extends Exception>
voidDataSet.addColumn
(String newColumnName, String fromColumnName, Throwables.Function<T, ?, E> func) Generate the new column values from the specified column by the specifiedFunction
.<E extends Exception>
voidDataSet.addColumn
(String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> func) Generate the new column values from the specified columns by the specifiedFunction
.<T,
E extends Exception>
voidRowDataSet.addColumn
(int columnIndex, String newColumnName, String fromColumnName, Throwables.Function<T, ?, E> func) Adds the column.<E extends Exception>
voidRowDataSet.addColumn
(int columnIndex, String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> func) Adds the column.<T,
E extends Exception>
voidRowDataSet.addColumn
(String newColumnName, String fromColumnName, Throwables.Function<T, ?, E> func) Adds the column.<E extends Exception>
voidRowDataSet.addColumn
(String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> func) Adds the column.Joiner.appendEntries
(Map<K, V> m, Throwables.Function<? super K, ?, E> keyMapper, Throwables.Function<? super V, ?, E2> valueMapper) <R,
E extends Exception>
RBooleanList.apply
(Throwables.Function<? super BooleanList, ? extends R, E> func) <R,
E extends Exception>
RBuilder.apply
(Throwables.Function<? super T, ? extends R, E> func) <R,
E extends Exception>
RByteList.apply
(Throwables.Function<? super ByteList, ? extends R, E> func) <R,
E extends Exception>
RCharList.apply
(Throwables.Function<? super CharList, ? extends R, E> func) <R,
E extends Exception>
RDataSet.apply
(Throwables.Function<? super DataSet, ? extends R, E> func) <R,
E extends Exception>
RDoubleList.apply
(Throwables.Function<? super DoubleList, ? extends R, E> func) <R,
E extends Exception>
RFloatList.apply
(Throwables.Function<? super FloatList, ? extends R, E> func) <R,
E extends Exception>
RIntList.apply
(Throwables.Function<? super IntList, ? extends R, E> func) <R,
E extends Exception>
RLongList.apply
(Throwables.Function<? super LongList, ? extends R, E> func) <R,
E extends Exception>
RLongMultiset.apply
(Throwables.Function<? super LongMultiset<T>, ? extends R, E> func) <R,
X extends Exception>
R<R,
E extends Exception>
RMultiset.apply
(Throwables.Function<? super Multiset<T>, ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableArray.apply
(Throwables.Function<? super T[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableBooleanArray.apply
(Throwables.Function<? super boolean[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableByteArray.apply
(Throwables.Function<? super byte[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableCharArray.apply
(Throwables.Function<? super char[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableDeque.apply
(Throwables.Function<? super Deque<T>, ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableDoubleArray.apply
(Throwables.Function<? super double[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableEntry.apply
(Throwables.Function<? super NoCachingNoUpdating.DisposableEntry<K, V>, ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableFloatArray.apply
(Throwables.Function<? super float[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableIntArray.apply
(Throwables.Function<? super int[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableLongArray.apply
(Throwables.Function<? super long[], ? extends R, E> func) <R,
E extends Exception>
RNoCachingNoUpdating.DisposableShortArray.apply
(Throwables.Function<? super short[], ? extends R, E> func) abstract <R,
E extends Exception>
RPrimitiveList.apply
(Throwables.Function<? super L, ? extends R, E> func) <R,
E extends Exception>
RRowDataSet.apply
(Throwables.Function<? super DataSet, ? extends R, E> func) <T,
X extends Exception>
T<R,
E extends Exception>
RShortList.apply
(Throwables.Function<? super ShortList, ? extends R, E> func) <R,
E extends Throwable>
RSynchronized.apply
(Throwables.Function<? super T, ? extends R, E> function) static <T,
R, E extends Throwable>
RSynchronized.apply
(T mutex, Throwables.Function<? super T, ? extends R, E> funciton) static <K,
V, R, E extends Throwable>
Throwables.Function<Map.Entry<K,V>, R, E> Fn.Fnn.applyByKey
(Throwables.Function<? super K, ? extends R, E> func) static <K,
V, R, E extends Throwable>
Throwables.Function<Map.Entry<K,V>, R, E> Fn.Fnn.applyByValue
(Throwables.Function<? super V, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>BooleanList.applyIfNotEmpty
(Throwables.Function<? super BooleanList, ? extends R, E> func) Apply if not empty.<R,
E extends Exception>
u.Optional<R>ByteList.applyIfNotEmpty
(Throwables.Function<? super ByteList, ? extends R, E> func) Apply if not empty.<R,
E extends Exception>
u.Optional<R>CharList.applyIfNotEmpty
(Throwables.Function<? super CharList, ? extends R, E> func) Apply if not empty.<R,
E2 extends Exception>
u.Optional<R>CheckedStream.applyIfNotEmpty
(Throwables.Function<? super CheckedStream<T, E>, R, E2> func) <R,
E extends Exception>
u.Optional<R>DataSet.applyIfNotEmpty
(Throwables.Function<? super DataSet, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>DoubleList.applyIfNotEmpty
(Throwables.Function<? super DoubleList, ? extends R, E> func) Apply if not empty.<R,
E extends Exception>
u.Optional<R>FloatList.applyIfNotEmpty
(Throwables.Function<? super FloatList, ? extends R, E> func) Apply if not empty.<R,
E extends Exception>
u.Optional<R>IntList.applyIfNotEmpty
(Throwables.Function<? super IntList, ? extends R, E> func) Apply if not empty.<R,
E extends Exception>
u.Optional<R>LongList.applyIfNotEmpty
(Throwables.Function<? super LongList, ? extends R, E> func) Apply if not empty.<R,
E extends Exception>
u.Optional<R>LongMultiset.applyIfNotEmpty
(Throwables.Function<? super LongMultiset<T>, ? extends R, E> func) Apply if not empty.<R,
X extends Exception>
u.Optional<R>Multimap.applyIfNotEmpty
(Throwables.Function<? super Multimap<K, E, V>, R, X> func) <R,
E extends Exception>
u.Optional<R>Multiset.applyIfNotEmpty
(Throwables.Function<? super Multiset<T>, ? extends R, E> func) Apply if not empty.abstract <R,
E extends Exception>
u.Optional<R>PrimitiveList.applyIfNotEmpty
(Throwables.Function<? super L, ? extends R, E> func) Apply if not empty.<R,
E extends Exception>
u.Optional<R>RowDataSet.applyIfNotEmpty
(Throwables.Function<? super DataSet, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>ShortList.applyIfNotEmpty
(Throwables.Function<? super ShortList, ? extends R, E> func) Apply if not empty.static <T,
E extends Exception>
voidN.applyToEach
(List<T> c, Throwables.Function<? super T, ? extends T, E> converter) static <T,
E extends Exception>
voidN.applyToEach
(T[] a, Throwables.Function<? super T, ? extends T, E> converter) Updates each element in the specified arraya
with specified functionconverter
.<R> ContinuableFuture<R>
CheckedStream.asyncCall
(Throwables.Function<? super CheckedStream<T, E>, R, ? extends Exception> terminalAction) <R> ContinuableFuture<R>
CheckedStream.asyncCall
(Throwables.Function<? super CheckedStream<T, E>, R, ? extends Exception> terminalAction, Executor executor) static <T,
E extends Exception>
u.Optional<BigDecimal>Iterables.averageBigDecimal
(Iterable<? extends T> c, Throwables.Function<? super T, BigDecimal, E> func) static <T,
E extends Exception>
BigDecimalN.averageBigDecimal
(Iterable<? extends T> c, Throwables.Function<? super T, BigDecimal, E> func) static <T,
E extends Exception>
u.Optional<BigDecimal>Iterables.averageBigInteger
(Iterable<? extends T> c, Throwables.Function<? super T, BigInteger, E> func) static <T,
E extends Exception>
BigDecimalN.averageBigInteger
(Iterable<? extends T> c, Throwables.Function<? super T, BigInteger, E> func) <R> R
Try.call
(Throwables.Function<? super T, R, ? extends Exception> cmd) <R> R
Try.call
(Throwables.Function<? super T, R, ? extends Exception> cmd, Function<? super Exception, ? extends R> actionOnError) <R> R
Try.call
(Throwables.Function<? super T, R, ? extends Exception> cmd, Predicate<? super Exception> predicate, Supplier<R> supplier) <R> R
Try.call
(Throwables.Function<? super T, R, ? extends Exception> cmd, Predicate<? super Exception> predicate, R defaultValue) <R> R
Try.call
(Throwables.Function<? super T, R, ? extends Exception> cmd, Supplier<R> supplier) <R> R
Try.call
(Throwables.Function<? super T, R, ? extends Exception> cmd, R defaultValue) <U,
R> ContinuableFuture<R> ContinuableFuture.callAfterBoth
(ContinuableFuture<U> other, Throwables.Function<? super Tuple.Tuple4<T, ? super Exception, U, ? super Exception>, ? extends R, ? extends Exception> action) Call after both.<R> ContinuableFuture<R>
ContinuableFuture.callAfterEither
(ContinuableFuture<? extends T> other, Throwables.Function<? super T, ? extends R, ? extends Exception> action) Call after either.<R> ContinuableFuture<R>
ContinuableFuture.callAfterFirstSucceed
(ContinuableFuture<? extends T> other, Throwables.Function<? super T, ? extends R, ? extends Exception> action) Call after either.N.callByBatch
(Iterable<? extends T> iter, int batchSize, Throwables.Function<? super List<? extends T>, R, E> batchAction) N.callByBatch
(Iterator<? extends T> iter, int batchSize, Throwables.Function<? super List<? extends T>, R, E> batchAction) N.callByBatch
(T[] a, int batchSize, Throwables.Function<? super List<? extends T>, R, E> batchAction) CheckedStream.collect
(Throwables.Supplier<R, E2> supplier, Throwables.BiConsumer<? super R, ? super T, E3> accumulator, Throwables.Function<? super R, ? extends RR, E4> finisher) <R,
RR, E2 extends Exception>
RRCheckedStream.collectAndThen
(Collector<? super T, ?, R> collector, Throwables.Function<? super R, ? extends RR, E2> func) Collect and then.static <T,
R> ContinuableFuture<R> Futures.combine
(Collection<? extends Future<? extends T>> cfs, Throwables.Function<List<T>, ? extends R, ? extends Exception> action) <E extends Exception,
E2 extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.combineColumns
(Throwables.Predicate<String, E> columnNameFilter, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E2> combineFunc) <E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.combineColumns
(Collection<String> columnNames, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> combineFunc) DataSet.combineColumns
(Throwables.Predicate<String, E> columnNameFilter, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E2> combineFunc) <E extends Exception>
voidDataSet.combineColumns
(Collection<String> columnNames, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> combineFunc) RowDataSet.combineColumns
(Throwables.Predicate<String, E> columnNameFilter, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E2> combineFunc) <E extends Exception>
voidRowDataSet.combineColumns
(Collection<String> columnNames, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> combineFunc) static <T,
FC extends Collection<? extends Future<? extends T>>, R>
ContinuableFuture<R>Futures.compose
(FC cfs, Throwables.Function<? super FC, R, Exception> zipFunctionForGet) static <T,
FC extends Collection<? extends Future<? extends T>>, R>
ContinuableFuture<R>Futures.compose
(FC cfs, Throwables.Function<? super FC, R, Exception> zipFunctionForGet, Throwables.Function<? super Tuple.Tuple3<FC, Long, TimeUnit>, R, Exception> zipFunctionTimeoutGet) static <T1,
T2, R> ContinuableFuture<R> Futures.compose
(Future<T1> cf1, Future<T2> cf2, Throwables.BiFunction<? super Future<T1>, ? super Future<T2>, R, Exception> zipFunctionForGet, Throwables.Function<? super Tuple.Tuple4<Future<T1>, Future<T2>, Long, TimeUnit>, R, Exception> zipFunctionTimeoutGet) static <T1,
T2, T3, R>
ContinuableFuture<R>Futures.compose
(Future<T1> cf1, Future<T2> cf2, Future<T3> cf3, Throwables.TriFunction<? super Future<T1>, ? super Future<T2>, ? super Future<T3>, R, Exception> zipFunctionForGet, Throwables.Function<? super Tuple.Tuple5<Future<T1>, Future<T2>, Future<T3>, Long, TimeUnit>, R, Exception> zipFunctionTimeoutGet) <E extends Exception>
longLongMultiset.computeIfAbsent
(T e, Throwables.Function<? super T, Long, E> mappingFunction) The implementation is equivalent to performing the following steps for this LongMultiset:Multimap.computeIfAbsent
(K key, Throwables.Function<? super K, ? extends V, X> mappingFunction) The implementation is equivalent to performing the following steps for this Multimap:<E extends Exception>
intMultiset.computeIfAbsent
(T e, Throwables.Function<? super T, Integer, E> mappingFunction) The implementation is equivalent to performing the following steps for this Multiset:static <T,
E extends Exception>
T[]N.copyThenApply
(T[] a, Throwables.Function<? super T, ? extends T, E> converter) Copy the specified arraya
first, then callconverter
on the copy.<K> CheckedStream<Map.Entry<K,
Integer>, E> CheckedStream.countBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) <K> CheckedStream<T,
E> CheckedStream.distinctBy
(Throwables.Function<? super T, K, ? extends E> keyMapper) Distinct by the value mapped fromkeyMapper
.<K> CheckedStream<T,
E> CheckedStream.distinctBy
(Throwables.Function<? super T, K, ? extends E> keyMapper, Throwables.BinaryOperator<T, ? extends E> mergeFunction) Distinct and filter by occurrences.<K> CheckedStream<T,
E> CheckedStream.distinctBy
(Throwables.Function<? super T, K, ? extends E> keyMapper, Throwables.Predicate<? super Map.Entry<Keyed<K, T>, Long>, ? extends E> occurrencesFilter) Distinct and filter by occurrences.DataSet.distinctBy
(String columnName, Throwables.Function<K, ?, E> keyMapper) Returns a newDataSet
with the rows de-duplicated by the value in the specified column from the specifiedfromRowIndex
totoRowIndex
.DataSet.distinctBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) Returns a newDataSet
with the rows de-duplicated by the values in the specified columns from the specifiedfromRowIndex
totoRowIndex
.N.distinctBy
(Iterable<? extends T> c, Throwables.Function<? super T, ?, E> keyMapper) Distinct by the value mapped fromkeyMapper
.static <T,
C extends Collection<T>, E extends Exception>
CN.distinctBy
(Iterable<? extends T> c, Throwables.Function<? super T, ?, E> keyMapper, Supplier<C> supplier) Distinct by the value mapped fromkeyMapper
.N.distinctBy
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.Function<? super T, ?, E> keyMapper) Distinct by the value mapped fromkeyMapper
.N.distinctBy
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ?, E> keyMapper) Distinct by the value mapped fromkeyMapper
.N.distinctBy
(T[] a, Throwables.Function<? super T, ?, E> keyMapper) Distinct by the value mapped fromkeyMapper
.static <T,
C extends Collection<T>, E extends Exception>
CN.distinctBy
(T[] a, Throwables.Function<? super T, ?, E> keyMapper, Supplier<C> supplier) Distinct by the value mapped fromkeyMapper
.RowDataSet.distinctBy
(String columnName, Throwables.Function<K, ?, E> keyMapper) RowDataSet.distinctBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) <K> CheckedStream<T,
E> CheckedStream.distinctLimitBy
(Throwables.Function<? super T, K, ? extends E> keyMapper, Throwables.BiFunction<? super K, ? super List<T>, Integer, ? extends E> limit) Distinct and limit bykeyMapper
<T,
E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.divideColumn
(String columnName, Collection<String> newColumnNames, Throwables.Function<T, ? extends List<?>, E> divideFunc) <T,
E extends Exception>
voidDataSet.divideColumn
(String columnName, Collection<String> newColumnNames, Throwables.Function<T, ? extends List<?>, E> divideFunc) <T,
E extends Exception>
voidRowDataSet.divideColumn
(String columnName, Collection<String> newColumnNames, Throwables.Function<T, ? extends List<?>, E> divideFunc) static <T,
R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.f
(Throwables.Function<T, R, E> predicate) static <T,
R, E extends Throwable>
Throwables.Consumer<T,E> Fn.Fnn.f2c
(Throwables.Function<T, ? extends R, E> func) static <T,
R> Function<T, R> Fn.ff
(Throwables.Function<T, ? extends R, ? extends Exception> function) static <T,
R> Function<T, R> Fn.ff
(Throwables.Function<T, ? extends R, ? extends Exception> function, R defaultOnError) <R> CheckedStream<R,
E> CheckedStream.flatmap
(Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends E> mapper) N.flatmap
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends R[], E> mapper) static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatmap
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends R[], E> mapper, IntFunction<? extends C> supplier) N.flatmap
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R[], E> mapper) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatmap
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R[], E> mapper, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.N.flatmap
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R[], E> mapper) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatmap
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R[], E> mapper, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.N.flatmap
(T[] a, Throwables.Function<? super T, ? extends R[], E> mapper) static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatmap
(T[] a, Throwables.Function<? super T, ? extends R[], E> mapper, IntFunction<? extends C> supplier) <R> CheckedStream<R,
E> CheckedStream.flatMap
(Throwables.Function<? super T, ? extends CheckedStream<? extends R, ? extends E>, ? extends E> mapper) DataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, String copyingColumnName) DataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.flatMap
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) N.flatMap
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper) static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatMap
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper, IntFunction<? extends C> supplier) N.flatMap
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Collection<? extends U>, E> mapper, Throwables.Function<? super U, ? extends Collection<? extends R>, E2> mapper2) static <T,
U, R, C extends Collection<R>, E extends Exception, E2 extends Exception>
CN.flatMap
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Collection<? extends U>, E> mapper, Throwables.Function<? super U, ? extends Collection<? extends R>, E2> mapper2, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.N.flatMap
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatMap
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.N.flatMap
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatMap
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.N.flatMap
(T[] a, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper) static <T,
R, C extends Collection<R>, E extends Exception>
CN.flatMap
(T[] a, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper, IntFunction<? extends C> supplier) N.flatMap
(T[] a, Throwables.Function<? super T, ? extends Collection<? extends U>, E> mapper, Throwables.Function<? super U, ? extends Collection<? extends R>, E2> mapper2) static <T,
U, R, C extends Collection<R>, E extends Exception, E2 extends Exception>
CN.flatMap
(T[] a, Throwables.Function<? super T, ? extends Collection<? extends U>, E> mapper, Throwables.Function<? super U, ? extends Collection<? extends R>, E2> mapper2, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.RowDataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, String copyingColumnName) RowDataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.flatMap
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) <U,
E extends Exception>
u.Nullable<U>u.Nullable.flatMap
(Throwables.Function<? super T, u.Nullable<U>, E> mapper) <U,
E extends Exception>
u.Optional<U>u.Optional.flatMap
(Throwables.Function<? super T, u.Optional<U>, E> mapper) <R> CheckedStream<R,
Exception> CheckedStream.flatmapE
(Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends Exception> mapper) <R> CheckedStream<R,
Exception> CheckedStream.flatMapE
(Throwables.Function<? super T, ? extends CheckedStream<? extends R, ? extends Exception>, ? extends Exception> mapper) <R> CheckedStream<R,
E> CheckedStream.flatMapIfNotNull
(Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends E> mapper) <U,
R> CheckedStream<R, E> CheckedStream.flatMapIfNotNull
(Throwables.Function<? super T, ? extends Collection<? extends U>, ? extends E> mapper, Throwables.Function<? super U, ? extends Collection<? extends R>, ? extends E> mapper2) <U,
E extends Exception>
u.Nullable<U>u.Nullable.flatMapIfNotNull
(Throwables.Function<? super T, u.Nullable<U>, E> mapper) Flat map if not null.CheckedStream.flatMapToBoolean
(Throwables.Function<? super T, boolean[], ? extends E> mapper) CheckedStream.flatMapToByte
(Throwables.Function<? super T, byte[], ? extends E> mapper) CheckedStream.flatMapToChar
(Throwables.Function<? super T, char[], ? extends E> mapper) CheckedStream.flatMapToDouble
(Throwables.Function<? super T, double[], ? extends E> mapper) CheckedStream.flatMapToFloat
(Throwables.Function<? super T, float[], ? extends E> mapper) CheckedStream.flatMapToInteger
(Throwables.Function<? super T, int[], ? extends E> mapper) CheckedStream.flatMapToLong
(Throwables.Function<? super T, long[], ? extends E> mapper) CheckedStream.flatMapToShort
(Throwables.Function<? super T, short[], ? extends E> mapper) <R> CheckedStream<R,
E> CheckedStream.flattmap
(Throwables.Function<? super T, ? extends Stream<? extends R>, ? extends E> mapper) <R> CheckedStream<R,
E> CheckedStream.flattMap
(Throwables.Function<? super T, R[], ? extends E> mapper) CheckedStream.forEach
(Throwables.Function<? super T, ? extends Iterable<? extends U>, E2> flatMapper, Throwables.BiConsumer<? super T, ? super U, E3> action) CheckedStream.forEach
(Throwables.Function<? super T, ? extends Iterable<T2>, E2> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E3> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E4> action) N.forEach
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) N.forEach
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) N.forEach
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) N.forEach
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) N.forEach
(T[] a, Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) N.forEach
(T[] a, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) N.forEachNonNull
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) For each non null.N.forEachNonNull
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.N.forEachNonNull
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) For each non null.N.forEachNonNull
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.N.forEachNonNull
(T[] a, Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) For each non null.N.forEachNonNull
(T[] a, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.<U,
E extends Exception>
UContinuableFuture.getThenApply
(long timeout, TimeUnit unit, Throwables.Function<? super T, U, E> action) Gets the then apply.<U,
E extends Exception>
UContinuableFuture.getThenApply
(Throwables.Function<? super T, U, E> action) Gets the then apply.<K> CheckedStream<Map.Entry<K,
List<T>>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper) <K,
V> CheckedStream<Map.Entry<K, List<V>>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper) <K,
V> CheckedStream<Map.Entry<K, V>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper, Throwables.BinaryOperator<V, ? extends E> mergeFunction) <K,
V> CheckedStream<Map.Entry<K, V>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper, Throwables.BinaryOperator<V, ? extends E> mergeFunction, Supplier<? extends Map<K, V>> mapFactory) <K,
V> CheckedStream<Map.Entry<K, List<V>>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper, Supplier<? extends Map<K, List<V>>> mapFactory) <K,
V, D> CheckedStream<Map.Entry<K, D>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper, Collector<? super V, ?, D> downstream) <K,
V, D> CheckedStream<Map.Entry<K, D>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper, Collector<? super V, ?, D> downstream, Supplier<? extends Map<K, D>> mapFactory) <K> CheckedStream<Map.Entry<K,
List<T>>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Supplier<? extends Map<K, List<T>>> mapFactory) <K,
D> CheckedStream<Map.Entry<K, D>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Collector<? super T, ?, D> downstream) <K,
D> CheckedStream<Map.Entry<K, D>, E> CheckedStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Collector<? super T, ?, D> downstream, Supplier<? extends Map<K, D>> mapFactory) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.groupBy
(String columnName, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) DataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) DataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) N.groupBy
(Iterable<? extends T> iter, Throwables.Function<? super T, ? extends K, E> keyExtractor) N.groupBy
(Iterable<? extends T> iter, Throwables.Function<? super T, ? extends K, E> keyExtractor, Supplier<M> mapSupplier) N.groupBy
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends K, E> keyExtractor) N.groupBy
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends K, E> keyExtractor, Supplier<M> mapSupplier) N.groupBy
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends K, E> keyExtractor) N.groupBy
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends K, E> keyExtractor, Supplier<M> mapSupplier) N.groupBy
(T[] a, Throwables.Function<? super T, ? extends K, E> keyExtractor) N.groupBy
(T[] a, Throwables.Function<? super T, ? extends K, E> keyExtractor, Supplier<M> mapSupplier) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.groupBy
(String columnName, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) RowDataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) RowDataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Supplier<? extends M> mapFactory) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Collector<? super V, ?, D> downstream) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Collector<? super V, ?, D> downstream, Supplier<? extends M> mapFactory) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Supplier<? extends M> mapFactory) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Collector<? super T, ?, D> downstream) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Collector<? super T, ?, D> downstream, Supplier<? extends M> mapFactory) static <T,
R, E extends Exception>
u.Nullable<R>N.ifOrEmpty
(boolean b, T init, Throwables.Function<? super T, ? extends R, E> func) Returns aNullable
with value returned byfunc.apply(init)
ifb
istrue
, otherwise returns an emptyNullable
ifb
is false.<U> CheckedStream<T,
E> CheckedStream.intersection
(Throwables.Function<? super T, ? extends U, E> mapper, Collection<U> c) Strings.joinEntries
(Map<K, V> m, String entryDelimiter, String keyValueDelimiter, String prefix, String suffix, boolean trim, Throwables.Function<? super K, ?, E> keyMapper, Throwables.Function<? super V, ?, E2> valueMapper) Builder.map
(Throwables.Function<? super T, ? extends R, E> mapper) <R> CheckedStream<R,
E> CheckedStream.map
(Throwables.Function<? super T, ? extends R, ? extends E> mapper) <U> ContinuableFuture<U>
ContinuableFuture.map
(Throwables.Function<? super T, ? extends U, ? extends Exception> func) DataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, String copyingColumnName) DataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.map
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) <U,
E extends Exception>
UHolder.map
(Throwables.Function<? super T, ? extends U, E> mapper) <T,
E extends Exception>
TJoiner.map
(Throwables.Function<? super String, T, E> mapper) The underlineStringBuilder
will be recycled after this method is called ifresueStringBuilder
is set totrue
, and should not continue to this instance.N.map
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends R, E> mapper) static <T,
R, C extends Collection<R>, E extends Exception>
CN.map
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends R, E> mapper, IntFunction<? extends C> supplier) N.map
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R, E> mapper) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
R, C extends Collection<R>, E extends Exception>
CN.map
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R, E> mapper, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.N.map
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R, E> mapper) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
R, C extends Collection<R>, E extends Exception>
CN.map
(T[] a, int fromIndex, int toIndex, Throwables.Function<? super T, ? extends R, E> mapper, IntFunction<? extends C> supplier) Mostly it's designed for one-step operation to complete the operation in one step.N.map
(T[] a, Throwables.Function<? super T, ? extends R, E> mapper) static <T,
R, C extends Collection<R>, E extends Exception>
CN.map
(T[] a, Throwables.Function<? super T, ? extends R, E> mapper, IntFunction<? extends C> supplier) <U,
E extends Exception>
UPair.map
(Throwables.Function<? super Pair<L, R>, U, E> mapper) RowDataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, String copyingColumnName) RowDataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.map
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) <U,
E extends Exception>
U<U,
E extends Exception>
UTuple.map
(Throwables.Function<? super TP, U, E> mapper) <U,
E extends Exception>
u.Nullable<U>u.Nullable.map
(Throwables.Function<? super T, ? extends U, E> mapper) <U,
E extends Exception>
u.Nullable<U>u.Optional.map
(Throwables.Function<? super T, ? extends U, E> mapper) <U> CheckedStream<U,
Exception> CheckedStream.mapE
(Throwables.Function<? super T, ? extends U, ? extends Exception> mapper) CheckedStream.mapFirst
(Throwables.Function<? super T, ? extends T, ? extends E> mapperForFirst) <R> CheckedStream<R,
E> CheckedStream.mapFirstOrElse
(Throwables.Function<? super T, ? extends R, E> mapperForFirst, Throwables.Function<? super T, ? extends R, E> mapperForElse) <T,
E extends Exception>
u.Nullable<T>Joiner.mapIfNotEmpty
(Throwables.Function<? super String, T, E> mapper) Callmapper
only if at least one element/object/entry is appended.<U,
E extends Exception>
u.Nullable<U>Holder.mapIfNotNull
(Throwables.Function<? super T, ? extends U, E> mapper) Map if not null.<U,
E extends Exception>
u.Nullable<U>u.Nullable.mapIfNotNull
(Throwables.Function<? super T, ? extends U, E> mapper) Map if not null.CheckedStream.mapLast
(Throwables.Function<? super T, ? extends T, ? extends E> mapperForLast) <R> CheckedStream<R,
E> CheckedStream.mapLastOrElse
(Throwables.Function<? super T, ? extends R, E> mapperForLast, Throwables.Function<? super T, ? extends R, E> mapperForElse) <R> CheckedStream<R,
E> CheckedStream.mapPartial
(Throwables.Function<? super T, u.Optional<? extends R>, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamex<R> CheckedStream<R,
E> CheckedStream.mapPartialJdk
(Throwables.Function<? super T, Optional<? extends R>, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexCheckedStream.mapPartialToDouble
(Throwables.Function<? super T, u.OptionalDouble, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexCheckedStream.mapPartialToDoubleJdk
(Throwables.Function<? super T, OptionalDouble, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexCheckedStream.mapPartialToInt
(Throwables.Function<? super T, u.OptionalInt, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexCheckedStream.mapPartialToIntJdk
(Throwables.Function<? super T, OptionalInt, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexCheckedStream.mapPartialToLong
(Throwables.Function<? super T, u.OptionalLong, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexCheckedStream.mapPartialToLongJdk
(Throwables.Function<? super T, OptionalLong, E> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamex<U,
E extends Exception>
u.Optional<U>u.Nullable.mapToNonNull
(Throwables.Function<? super T, ? extends U, E> mapper) <U,
E extends Exception>
u.Optional<U>u.Optional.mapToNonNull
(Throwables.Function<? super T, ? extends U, E> mapper) <U,
E extends Exception>
u.Optional<U>Holder.mapToNonNullIfNotNull
(Throwables.Function<? super T, ? extends U, E> mapper) <U,
E extends Exception>
u.Optional<U>u.Nullable.mapToNonNullIfNotNull
(Throwables.Function<? super T, ? extends U, E> mapper) Map if not null.static <T,
R extends Comparable<? super R>, E extends Exception>
RN.maxOrDefaultIfEmpty
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends R, E> valueExtractor, R defaultValue) Returns the maximum value extracted from the specified collectionc
byvalueExtractor
, ordefaultValue
ifc
is null or empty.static <T,
R extends Comparable<? super R>, E extends Exception>
RN.maxOrDefaultIfEmpty
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends R, E> valueExtractor, R defaultValue) Returns the maximum value extracted from the specified iteratoriter
byvalueExtractor
, ordefaultValue
ifiter
is null or empty.static <T,
R extends Comparable<? super R>, E extends Exception>
RN.maxOrDefaultIfEmpty
(T[] a, Throwables.Function<? super T, ? extends R, E> valueExtractor, R defaultValue) Returns the maximum value extracted from the specified arraya
byvalueExtractor
, ordefaultValue
ifa
is null or empty.static <T,
R extends Comparable<? super R>, E extends Exception>
RN.minOrDefaultIfEmpty
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends R, E> valueExtractor, R defaultValue) Returns the minimum value extracted from the specified collectionc
byvalueExtractor
, ordefaultValue
ifc
is null or empty.static <T,
R extends Comparable<? super R>, E extends Exception>
RN.minOrDefaultIfEmpty
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends R, E> valueExtractor, R defaultValue) Returns the minimum value extracted from the specified iteratoriter
byvalueExtractor
, ordefaultValue
ifiter
is null or empty.static <T,
R extends Comparable<? super R>, E extends Exception>
RN.minOrDefaultIfEmpty
(T[] a, Throwables.Function<? super T, ? extends R, E> valueExtractor, R defaultValue) Returns the minimum value extracted from the specified arraya
byvalueExtractor
, ordefaultValue
ifa
is null or empty.long
long
CheckedStream.persist
(File output, String header, String tail, Throwables.Function<? super T, String, E> toLine) long
CheckedStream.persist
(OutputStream output, Throwables.Function<? super T, String, E> toLine) long
CheckedStream.persist
(OutputStream output, String header, String tail, Throwables.Function<? super T, String, E> toLine) long
long
CheckedStream.persist
(Writer output, String header, String tail, Throwables.Function<? super T, String, E> toLine) DataSet.pivot
(String groupByColumnName, String pivotColumnName, String aggColumnName, Throwables.Function<Stream<U>, ? extends T, E> aggFunc) DataSet.pivot
(String groupByColumnName, String pivotColumnName, Collection<String> aggColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, U, E> rowMapper, Collector<? super U, ?, ? extends T> collector) RowDataSet.pivot
(String groupByColumnName, String pivotColumnName, String aggColumnName, Throwables.Function<Stream<U>, ? extends T, E> aggFunc) RowDataSet.pivot
(String groupByColumnName, String pivotColumnName, Collection<String> aggColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, U, E> rowMapper, Collector<? super U, ?, ? extends T> collector) <E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.renameColumn
(String columnName, Throwables.Function<String, String, E> func) <E extends Exception>
voidDataSet.renameColumn
(String columnName, Throwables.Function<String, String, E> func) <E extends Exception>
voidRowDataSet.renameColumn
(String columnName, Throwables.Function<String, String, E> func) <E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.renameColumns
(Throwables.Function<String, String, E> func) <E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.renameColumns
(Collection<String> columnNames, Throwables.Function<String, String, E> func) <E extends Exception>
voidDataSet.renameColumns
(Throwables.Function<String, String, E> func) <E extends Exception>
voidDataSet.renameColumns
(Collection<String> columnNames, Throwables.Function<String, String, E> func) <E extends Exception>
voidRowDataSet.renameColumns
(Throwables.Function<String, String, E> func) <E extends Exception>
voidRowDataSet.renameColumns
(Collection<String> columnNames, Throwables.Function<String, String, E> func) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) CheckedStream.saveEach
(OutputStream output, Throwables.Function<? super T, String, E> toLine) static <T,
R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.sf
(Object mutex, Throwables.Function<T, ? extends R, E> function) SynchronizedFunction
.Splitter.split
(CharSequence source, Throwables.Function<? super String, ? extends T, E> mapper) <T,
E extends Exception>
TSplitter.MapSplitter.splitAndThen
(CharSequence source, Throwables.Function<? super Map<String, String>, T, E> converter) Split and then.<T,
E extends Exception>
TSplitter.splitAndThen
(CharSequence source, Throwables.Function<? super List<String>, T, E> converter) Split and then.Splitter.splitToArray
(CharSequence source, Throwables.Function<? super String, String, E> mapper) Split to array.<R> CheckedStream<R,
E> CheckedStream.spsFlatmap
(int maxThreadNum, Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
E> CheckedStream.spsFlatmap
(Throwables.Function<? super T, ? extends Collection<? extends R>, E> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
E> CheckedStream.spsFlatMap
(int maxThreadNum, Throwables.Function<? super T, ? extends Stream<? extends R>, E> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
E> CheckedStream.spsFlatMap
(Throwables.Function<? super T, ? extends Stream<? extends R>, E> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
Exception> CheckedStream.spsFlatmapE
(int maxThreadNum, Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
Exception> CheckedStream.spsFlatmapE
(Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
Exception> CheckedStream.spsFlatMapE
(int maxThreadNum, Throwables.Function<? super T, ? extends Stream<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
Exception> CheckedStream.spsFlatMapE
(Throwables.Function<? super T, ? extends Stream<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> CheckedStream<R,
E> CheckedStream.spsMap
(int maxThreadNum, Throwables.Function<? super T, ? extends R, E> mapper) Temporarily switch the stream to parallel stream for operationmap
and then switch back to sequence stream.<R> CheckedStream<R,
E> CheckedStream.spsMap
(Throwables.Function<? super T, ? extends R, E> mapper) Temporarily switch the stream to parallel stream for operationmap
and then switch back to sequence stream.<U> CheckedStream<U,
Exception> CheckedStream.spsMapE
(int maxThreadNum, Throwables.Function<? super T, ? extends U, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationmap
and then switch back to sequence stream.<U> CheckedStream<U,
Exception> CheckedStream.spsMapE
(Throwables.Function<? super T, ? extends U, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationmap
and then switch back to sequence stream.Tuple.stream
(Throwables.Function<? super TP, Stream<T>, E> func) static <T,
E extends Exception>
u.Optional<BigDecimal>Iterables.sumBigDecimal
(Iterable<? extends T> c, Throwables.Function<? super T, BigDecimal, E> func) static <T,
E extends Exception>
BigDecimalN.sumBigDecimal
(Iterable<? extends T> c, Throwables.Function<? super T, BigDecimal, E> func) static <T,
E extends Exception>
u.Optional<BigInteger>Iterables.sumBigInteger
(Iterable<? extends T> c, Throwables.Function<? super T, BigInteger, E> func) static <T,
E extends Exception>
BigIntegerN.sumBigInteger
(Iterable<? extends T> c, Throwables.Function<? super T, BigInteger, E> func) <R> ContinuableFuture<R>
ContinuableFuture.thenCall
(Throwables.Function<? super T, ? extends R, ? extends Exception> action) <R,
CC extends Collection<T>, E2 extends Exception>
RCheckedStream.toCollectionAndThen
(Supplier<? extends CC> supplier, Throwables.Function<? super CC, R, E2> func) <K,
V, E2 extends Exception, E3 extends Exception>
ImmutableMap<K,V> CheckedStream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) <K,
V, E2 extends Exception, E3 extends Exception, E4 extends Exception>
ImmutableMap<K,V> CheckedStream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction) DataSet.toList
(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter, IntFunction<? extends T> rowSupplier) DataSet.toList
(Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter, IntFunction<? extends T> rowSupplier) DataSet.toList
(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter) DataSet.toList
(Class<? extends T> rowClass, Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter) RowDataSet.toList
(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter, IntFunction<? extends T> rowSupplier) RowDataSet.toList
(Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter, IntFunction<? extends T> rowSupplier) RowDataSet.toList
(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter) RowDataSet.toList
(Class<? extends T> rowClass, Throwables.Predicate<? super String, E> columnNameFilter, Throwables.Function<? super String, String, E2> columnNameConverter) <R,
E2 extends Exception>
RCheckedStream.toListAndThen
(Throwables.Function<? super List<T>, R, E2> func) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction, Supplier<? extends M> mapFactory) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Supplier<? extends M> mapFactory) <K,
E2 extends Exception>
ListMultimap<K,T> CheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper) <K,
V, E2 extends Exception, E3 extends Exception>
ListMultimap<K,V> CheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) <K,
V, C extends Collection<V>, M extends Multimap<K, V, C>, E2 extends Exception, E3 extends Exception>
MCheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Supplier<? extends M> mapFactory) <K,
V extends Collection<T>, M extends Multimap<K, T, V>, E2 extends Exception>
MCheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Supplier<? extends M> mapFactory) <R,
E2 extends Exception>
RCheckedStream.toSetAndThen
(Throwables.Function<? super Set<T>, R, E2> func) static <T,
R> R N.tryOrDefaultIfExceptionOccurred
(T init, Throwables.Function<? super T, ? extends R, ? extends Exception> func, Supplier<R> supplierForDefaultIfExceptionOccurred) Returns the value returned byaction
ordefaultIfExceptionOccurred
if exception happens.static <T,
R> R N.tryOrDefaultIfExceptionOccurred
(T init, Throwables.Function<? super T, ? extends R, ? extends Exception> func, R defaultIfExceptionOccurred) Returns the value returned byaction
ordefaultIfExceptionOccurred
if exception happens.static <T,
R> u.Nullable<R> N.tryOrEmptyIfExceptionOccurred
(T init, Throwables.Function<? super T, ? extends R, ? extends Exception> func) Returns aNullable
with the value returned byfunc.apply(init)
or an emptyNullable
if exception happens.<E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.updateAll
(Throwables.Function<?, ?, E> func) <E extends Exception>
voidDataSet.updateAll
(Throwables.Function<?, ?, E> func) Update all the values in this DataSet with the specified Try.Function.<E extends Exception>
voidRowDataSet.updateAll
(Throwables.Function<?, ?, E> func) <X extends Exception>
voidSheet.updateAll
(Throwables.Function<? super E, ? extends E, X> func) <T,
E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.updateColumn
(String columnName, Throwables.Function<T, ?, E> func) <E extends Exception>
voidDataSet.updateColumn
(String columnName, Throwables.Function<?, ?, E> func) Update the values of the specified column by the specified Try.Function.<E extends Exception>
voidRowDataSet.updateColumn
(String columnName, Throwables.Function<?, ?, E> func) <X extends Exception>
voidSheet.updateColumn
(C columnKey, Throwables.Function<? super E, ? extends E, X> func) <E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.updateColumns
(Collection<String> columnNames, Throwables.Function<?, ?, E> func) <E extends Exception>
voidDataSet.updateColumns
(Collection<String> columnNames, Throwables.Function<?, ?, E> func) Update the values of the specified columns one by one with the specified Try.Function.<E extends Exception>
voidRowDataSet.updateColumns
(Collection<String> columnNames, Throwables.Function<?, ?, E> func) <E extends Exception>
voidDataSet.updateRow
(int rowIndex, Throwables.Function<?, ?, E> func) Update the values in the specified row with the specified Try.Function.<E extends Exception>
voidRowDataSet.updateRow
(int rowIndex, Throwables.Function<?, ?, E> func) <X extends Exception>
voidSheet.updateRow
(R rowKey, Throwables.Function<? super E, ? extends E, X> func) <E extends Exception>
voidDataSet.updateRows
(int[] indices, Throwables.Function<?, ?, E> func) Update the values in the specified rows one by one with the specified Try.Function.<E extends Exception>
voidRowDataSet.updateRows
(int[] indices, Throwables.Function<?, ?, E> func) -
Uses of Throwables.Function in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
Function<T,
R> Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.htmlinterface
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.htmlModifier and TypeMethodDescriptiondefault <E extends Throwable>
Throwables.Function<T,R, E> Function.toThrowable()
-
Uses of Throwables.Function in com.landawn.abacus.util.stream
Modifier and TypeMethodDescription<R,
E extends Exception>
u.Optional<R>BaseStream.applyIfNotEmpty
(Throwables.Function<? super S, ? extends R, E> func) This is a terminal operation.<R,
E extends Exception>
u.Optional<R>EntryStream.applyIfNotEmpty
(Throwables.Function<? super EntryStream<K, V>, ? extends R, E> func) <R> ContinuableFuture<R>
Stream.asyncCall
(Throwables.Function<? super Stream<T>, R, ? extends Exception> terminalAction) <R> ContinuableFuture<R>
Stream.asyncCall
(Throwables.Function<? super Stream<T>, R, ? extends Exception> terminalAction, Executor executor) <R,
RR, E extends Exception>
RREntryStream.collectAndThen
(Collector<? super Map.Entry<K, V>, ?, R> downstream, Throwables.Function<? super R, ? extends RR, E> finisher) abstract <R,
RR, E extends Exception>
RRStream.collectAndThen
(Collector<? super T, ?, R> downstream, Throwables.Function<? super R, ? extends RR, E> func) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream, Supplier<? extends M> mapFactory) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Supplier<? extends M> mapFactory) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Collector<? super T, ?, D> downstream) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Collector<? super T, ?, D> downstream, Supplier<? extends M> mapFactory) <R> Stream<R>
Stream.flatmapE
(Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends Exception> mapper) <R> Stream<R>
Stream.flatMapE
(Throwables.Function<? super T, ? extends Stream<? extends R>, ? extends Exception> mapper) Stream.forEach
(Throwables.Function<? super T, ? extends Iterable<? extends U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) Stream.forEach
(Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream, Supplier<? extends M> mapFactory) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Supplier<? extends M> mapFactory) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Collector<? super T, ?, D> downstream) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Collector<? super T, ?, D> downstream, Supplier<? extends M> mapFactory) <R,
E extends Exception>
REntryStream.groupToAndThen
(Throwables.Function<? super Map<K, List<V>>, ? extends R, E> func) <R> Stream<R>
Stream.mapE
(Throwables.Function<? super T, ? extends R, ? extends Exception> mapper) <R> Stream<R>
Stream.spsFlatmapE
(int maxThreadNum, Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> Stream<R>
Stream.spsFlatmapE
(Throwables.Function<? super T, ? extends Collection<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> Stream<R>
Stream.spsFlatMapE
(int maxThreadNum, Throwables.Function<? super T, ? extends Stream<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> Stream<R>
Stream.spsFlatMapE
(Throwables.Function<? super T, ? extends Stream<? extends R>, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationflatMap
and then switch back to sequence stream.<R> Stream<R>
Stream.spsMapE
(int maxThreadNum, Throwables.Function<? super T, ? extends R, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationmap
and then switch back to sequence stream.<R> Stream<R>
Stream.spsMapE
(Throwables.Function<? super T, ? extends R, ? extends Exception> mapper) Temporarily switch the stream to parallel stream for operationmap
and then switch back to sequence stream.abstract <R,
CC extends Collection<T>, E extends Exception>
RStream.toCollectionAndThen
(Supplier<? extends CC> supplier, Throwables.Function<? super CC, ? extends R, E> func) <K,
V, E extends Exception, E2 extends Exception>
ImmutableMap<K,V> Stream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) <K,
V, E extends Exception, E2 extends Exception>
ImmutableMap<K,V> Stream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) abstract <R,
E extends Exception>
RStream.toListAndThen
(Throwables.Function<? super List<T>, ? extends R, E> func) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) <R,
E extends Exception>
REntryStream.toMapAndThen
(Throwables.Function<? super Map<K, V>, ? extends R, E> func) abstract <K,
E extends Exception>
ListMultimap<K,T> Stream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper) abstract <K,
V, E extends Exception, E2 extends Exception>
ListMultimap<K,V> Stream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) abstract <K,
V, C extends Collection<V>, M extends Multimap<K, V, C>, E extends Exception, E2 extends Exception>
MStream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) abstract <K,
V extends Collection<T>, M extends Multimap<K, T, V>, E extends Exception>
MStream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Supplier<? extends M> mapFactory) abstract <R,
E extends Exception>
RStream.toSetAndThen
(Throwables.Function<? super Set<T>, ? extends R, E> func)