Uses of Interface
com.google.api.core.ApiFunction
Packages that use ApiFunction
-
Uses of ApiFunction in com.google.api.core
Methods in com.google.api.core with parameters of type ApiFunctionModifier and TypeMethodDescriptionApiFutures.catching(ApiFuture<? extends V> input, Class<X> exceptionType, ApiFunction<? super X, ? extends V> callback) Deprecated.Use the overload that requires an executor.ApiFutures.catching(ApiFuture<? extends V> input, Class<X> exceptionType, ApiFunction<? super X, ? extends V> callback, Executor executor) Returns anApiFuturewhose result is taken from the given primary input or, if the primary input fails with the given exceptionType, from the result provided by the callback.static <V,X> ApiFuture<X> ApiFutures.transform(ApiFuture<? extends V> input, ApiFunction<? super V, ? extends X> function) Deprecated.static <V,X> ApiFuture<X> ApiFutures.transform(ApiFuture<? extends V> input, ApiFunction<? super V, ? extends X> function, Executor executor) Returns a newApiFuturewhose result is derived from the result of the givenApiFuture.