Uses of Interface
com.landawn.abacus.util.function.Function
-
Uses of Function in com.landawn.abacus.util
Modifier and TypeMethodDescriptionFn.applyByKey
(Function<? super K, ? extends R> func) Apply by key.Fn.applyByValue
(Function<? super V, ? extends R> func) Apply by value.static <A,
B, R> Function<A, R> Fn.applyIfNotNullOrDefault
(Function<A, B> mapperA, Function<B, ? extends R> mapperB, R defaultValue) Apply if not null or default.static <A,
B, C, R> Function<A, R> Fn.applyIfNotNullOrDefault
(Function<A, B> mapperA, Function<B, C> mapperB, Function<C, ? extends R> mapperC, R defaultValue) Apply if not null or default.static <A,
B, C, D, R>
Function<A,R> Fn.applyIfNotNullOrDefault
(Function<A, B> mapperA, Function<B, C> mapperB, Function<C, D> mapperC, Function<D, ? extends R> mapperD, R defaultValue) Apply if not null or default.static <A,
B, R> Function<A, R> Fn.applyIfNotNullOrGet
(Function<A, B> mapperA, Function<B, ? extends R> mapperB, Supplier<R> supplier) Apply if not null or get.static <A,
B, C, R> Function<A, R> Fn.applyIfNotNullOrGet
(Function<A, B> mapperA, Function<B, C> mapperB, Function<C, ? extends R> mapperC, Supplier<R> supplier) Apply if not null or get.static <A,
B, C, D, R>
Function<A,R> Fn.applyIfNotNullOrGet
(Function<A, B> mapperA, Function<B, C> mapperB, Function<C, D> mapperC, Function<D, ? extends R> mapperD, Supplier<R> supplier) Apply if not null or get.static <T,
R> Function<T, R> Fn.applyIfOrElseDefault
(Predicate<? super T> predicate, Function<? super T, ? extends R> func, R defaultValue) static <T,
R> Function<T, R> Fn.applyIfOrElseGet
(Predicate<? super T> predicate, Function<? super T, ? extends R> func, Supplier<? extends R> supplier) Fn.applyKeyVal
(BiFunction<? super K, ? super V, ? extends R> func) Apply key val.Fn.FnB.average()
Fn.FnD.average()
Fn.FnF.average()
Fn.FnI.average()
Fn.FnL.average()
Fn.FnS.average()
static <T,
R> Function<T, R> static <T,
U> Function<T, U> static <T,
A extends NoCachingNoUpdating.DisposableArray<T>>
Function<A,T[]> Fn.Disposables.cloneArray()
static <T extends Comparable<? super T>>
Function<T,Integer> Fn.compareTo
(T target) Fn.compareTo
(T target, Comparator<? super T> cmp) Fn.createNumber()
Creates the number.Deprecated.Fn.entry
(K key) Deprecated.replaced byFn#entryWithKey(Object)
Fn.entryByKeyMapper
(Function<? super V, K> keyMapper) Fn.entryByValueMapper
(Function<? super K, V> valueMapper) Fn.entryWithKey
(K key) Fn.entryWithValue
(V value) Fn.Entries.f
(BiFunction<? super K, ? super V, ? extends T> f) static <A,
B, T, R> Function<T, R> Fn.f
(A a, B b, TriFunction<A, B, T, R> triFunction) static <A,
T, R> Function<T, R> Fn.f
(A a, BiFunction<A, T, R> biFunction) static <T,
R> Function<T, R> Fn.Entries.ff
(Throwables.BiFunction<? super K, ? super V, ? extends T, E> f) Fn.ff
(A a, B b, Throwables.TriFunction<A, B, T, R, E> triFunction) Fn.ff
(A a, Throwables.BiFunction<A, T, R, E> biFunction) Fn.ff
(Throwables.Function<T, ? extends R, E> function) Fn.ff
(Throwables.Function<T, ? extends R, E> function, R defaultOnError) static <K,
V> Function<? super Map<K, ? extends Collection<? extends V>>, List<Map<K, V>>> Fn.flatToMap()
{a=[1, 2, 3], b=[4, 5, 6], c=[7, 8]} -> [{a=1, b=4, c=7}, {a=2, b=5, c=8}, {a=3, b=6}]static <T,
R> Function<T, R> Fn.futureGet()
Fn.futureGetOrDefaultOnError
(T defaultValue) static <T> Function<u.Optional<? extends T>,
T> static <T> Function<T,
T> Fn.identity()
static <T,
R> Function<T, R> Fn.Functions.indexed
(IndexedFunction<T, ? extends R> func) Returns a statefulFunction
.Fn.indexed()
Returns a statefulPredicate
.Fn.inverse()
static <A extends NoCachingNoUpdating.DisposableArray>
Function<A,String> Fn.key()
Fn.kkv()
Fn.left()
Fn.FnB.len()
Fn.FnC.len()
Fn.FnD.len()
Fn.FnF.len()
Fn.FnI.len()
Fn.FnL.len()
Fn.FnS.len()
Fn.len()
static <T extends CharSequence>
Function<T,Integer> Fn.length()
static <T,
R> Function<T, R> Fn.nullToEmpty()
Fn.nullToEmptyL()
Deprecated.replaced bynullToEmptyList
Fn.nullToEmptyList()
Fn.nullToEmptyM()
Deprecated.replaced bynullToEmptyMap
Fn.nullToEmptyMap()
Fn.nullToEmptyS()
Deprecated.replaced bynullToEmptySet
Fn.nullToEmptySet()
Fn.parseByte()
Parses the byte.Fn.parseDouble()
Parses the double.Fn.parseFloat()
Parses the float.Fn.parseInt()
Parses the int.Fn.parseLong()
Parses the long.Fn.parseShort()
Parses the short.Fn.right()
static <A,
T, R> Function<T, R> Fn.sf
(Object mutex, A a, BiFunction<A, T, R> biFunction) SynchronizedFunction
.static <T,
R> Function<T, R> SynchronizedFunction
.static <T extends Collection>
Function<T,Integer> Fn.size()
Fn.sizeM()
Fn.strip()
Fn.stripToEmpty()
Fn.stripToNull()
Fn.FnB.sum()
Fn.FnD.sum()
Fn.FnF.sum()
Fn.FnI.sum()
Fn.FnL.sum()
Fn.FnS.sum()
Fn.toCamelCase()
To camel case.Fn.Pairs.toList()
Fn.Triples.toList()
Fn.toLowerCase()
To lower case.To lower case with underscore.static Function<Throwable,
RuntimeException> Fn.toRuntimeException()
Fn.Pairs.toSet()
Fn.Triples.toSet()
static <A extends NoCachingNoUpdating.DisposableArray>
Function<A,String> Fn.Disposables.toStr()
Fn.toStr()
Fn.toUpperCase()
To upper case.To upper case with underscore.Fn.trim()
Fn.trimToEmpty()
Fn.trimToNull()
static <T> Function<T,
Tuple.Tuple1<T>> Fn.tuple1()
Throwables.Function.unchecked()
Fn.unwrap()
Fn.val()
Fn.value()
Fn.wrap()
Fn.wrap
(ToIntFunction<? super T> hashFunction, BiPredicate<? super T, ? super T> equalsFunction) -
Uses of Function in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.htmlModifier and TypeMethodDescriptiondefault <V> BooleanBiFunction<V>
default <V> BooleanFunction<V>
default <V> BooleanTriFunction<V>
default <V> ByteBiFunction<V>
default <V> ByteFunction<V>
default <V> ByteTriFunction<V>
default <V> CharBiFunction<V>
default <V> CharFunction<V>
default <V> CharTriFunction<V>
default <V> DoubleBiFunction<V>
default <V> DoubleTriFunction<V>
default <V> FloatBiFunction<V>
default <V> FloatFunction<V>
default <V> FloatTriFunction<V>
default <V> IntBiFunction<V>
default <V> IntTriFunction<V>
default <V> LongBiFunction<V>
default <V> LongTriFunction<V>
default <V> QuadFunction<A,
B, C, D, V> default <V> ShortBiFunction<V>
default <V> ShortTriFunction<V>
Fn#entryByKeyMapper(Function)