Uses of Interface
org.danekja.java.util.function.serializable.SerializableFunction
Packages that use SerializableFunction
Package
Description
This package contains serializable versions of
FunctionalInterfaces from the JDK not in
java.util.functionThis package contains serializable versions of JDK's
java.util.function package-
Uses of SerializableFunction in org.danekja.java.misc.serializable
Methods in org.danekja.java.misc.serializable with parameters of type SerializableFunctionModifier and TypeMethodDescriptionstatic <T,U extends Comparable<? super U>>
SerializableComparator<T> SerializableComparator.comparing(SerializableFunction<? super T, ? extends U> keyExtractor) Accepts a function that extracts aComparablesort key from a typeT, and returns aComparator<T>that compares by that sort key.static <T,U> SerializableComparator <T> SerializableComparator.comparing(SerializableFunction<? super T, ? extends U> keyExtractor, SerializableComparator<? super U> keyComparator) Accepts a function that extracts a sort key from a typeT, and returns aSerializableComparator<T>that compares by that sort key using the specifiedSerializableComparator.default <U extends Comparable<? super U>>
SerializableComparator<T> SerializableComparator.thenComparing(SerializableFunction<? super T, ? extends U> keyExtractor) Returns a lexicographic-order comparator with a function that extracts aComparablesort key.default <U> SerializableComparator<T> SerializableComparator.thenComparing(SerializableFunction<? super T, ? extends U> keyExtractor, SerializableComparator<? super U> keyComparator) Returns a lexicographic-order comparator with a function that extracts a key to be compared with the givenSerializableComparator. -
Uses of SerializableFunction in org.danekja.java.util.function.serializable
Methods in org.danekja.java.util.function.serializable that return SerializableFunctionModifier and TypeMethodDescriptiondefault <V> SerializableFunction<T, V> SerializableFunction.andThen(SerializableFunction<? super R, ? extends V> after) Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> SerializableFunction<V, R> SerializableFunction.compose(SerializableFunction<? super V, ? extends T> before) Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.static <T> SerializableFunction<T, T> SerializableFunction.identity()Returns a function that always returns its input argument.Methods in org.danekja.java.util.function.serializable with parameters of type SerializableFunctionModifier and TypeMethodDescriptiondefault <V> SerializableBiFunction<T, U, V> SerializableBiFunction.andThen(SerializableFunction<? super R, ? extends V> after) Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> SerializableFunction<T, V> SerializableFunction.andThen(SerializableFunction<? super R, ? extends V> after) Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> SerializableFunction<V, R> SerializableFunction.compose(SerializableFunction<? super V, ? extends T> before) Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.