Package | Description |
---|---|
com.hazelcast.function |
Serializable and exception-declaring variants of functional interfaces from
java.util.function . |
Modifier and Type | Method and Description |
---|---|
default <V> FunctionEx<T,V> |
FunctionEx.andThen(FunctionEx<? super R,? extends V> after)
Serializable variant of java.util.function.Function#andThen(Function) . |
default <V> FunctionEx<V,R> |
FunctionEx.compose(FunctionEx<? super V,? extends T> before)
Serializable variant of java.util.function.Function#compose(Function) . |
static <K> FunctionEx<Map.Entry<K,?>,K> |
Functions.entryKey()
Returns a function that extracts the key of a
Map.Entry . |
static <V> FunctionEx<Map.Entry<?,V>,V> |
Functions.entryValue()
Returns a function that extracts the value of a
Map.Entry . |
static <T> FunctionEx<T,T> |
FunctionEx.identity()
Serializable variant of java.util.function.Function#identity() . |
static <T> FunctionEx<T,T> |
Functions.wholeItem()
Synonym for
identity() , to be used as a
projection function (e.g., key extractor). |
Modifier and Type | Method and Description |
---|---|
default <V> FunctionEx<T,V> |
FunctionEx.andThen(FunctionEx<? super R,? extends V> after)
Serializable variant of java.util.function.Function#andThen(Function) . |
default <V> BiFunctionEx<T,U,V> |
BiFunctionEx.andThen(FunctionEx<? super R,? extends V> after)
Serializable variant of java.util.function.BiFunction#andThen(Function) . |
static <T,U extends Comparable<? super U>> |
ComparatorEx.comparing(FunctionEx<? super T,? extends U> toKeyFn)
Serializable variant of java.util.Comparator#comparing(Function) . |
static <T,U> ComparatorEx<T> |
ComparatorEx.comparing(FunctionEx<? super T,? extends U> toKeyFn,
ComparatorEx<? super U> keyComparator)
Serializable variant of java.util.Comparator#comparing(Function, Comparator) . |
default <V> FunctionEx<V,R> |
FunctionEx.compose(FunctionEx<? super V,? extends T> before)
Serializable variant of java.util.function.Function#compose(Function) . |
default <U extends Comparable<? super U>> |
ComparatorEx.thenComparing(FunctionEx<? super T,? extends U> toKeyFn)
Serializable variant of java.util.Comparator#thenComparing(Function) . |
default <U> ComparatorEx<T> |
ComparatorEx.thenComparing(FunctionEx<? super T,? extends U> toKeyFn,
ComparatorEx<? super U> keyComparator)
Serializable variant of java.util.Comparator#thenComparing(Function, Comparator) . |
Copyright © 2022 Hazelcast, Inc.. All rights reserved.