Uses of Interface
com.spotify.futures.Function4
-
Uses of Function4 in com.spotify.futures
Methods in com.spotify.futures that return Function4Modifier and TypeMethodDescriptionReturns a composed function that first applies this function to its input, and then applies theafterfunction to the result.Methods in com.spotify.futures with parameters of type Function4Modifier and TypeMethodDescriptionstatic <R,A, B, C, D>
CompletionStage<R>CompletableFutures.combine(CompletionStage<A> a, CompletionStage<B> b, CompletionStage<C> c, CompletionStage<D> d, Function4<A, B, C, D, R> function) Combines multiple stages by applying a function.static <R,A, B, C, D>
CompletionStage<R>CompletableFutures.combineFutures(CompletionStage<A> a, CompletionStage<B> b, CompletionStage<C> c, CompletionStage<D> d, Function4<A, B, C, D, CompletionStage<R>> function) Composes multiple stages into another stage using a function.