Searched refs:AsyncFunction (Results 1 - 5 of 5) sorted by relevance
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | AsyncFunction.java | 25 * information, see {@link Futures#transform(ListenableFuture, AsyncFunction)}. 31 public interface AsyncFunction<I, O> { interface 35 * done}, making {@code AsyncFunction} suitable for asynchronous derivations.
|
H A D | Futures.java | 204 * @deprecated Convert your {@code Function} to a {@code AsyncFunction}, and 205 * use {@link #transform(ListenableFuture, AsyncFunction)}. This method is 260 * @deprecated Convert your {@code Function} to a {@code AsyncFunction}, and 261 * use {@link #transform(ListenableFuture, AsyncFunction, Executor)}. This 271 new ChainingListenableFuture<I, O>(new AsyncFunction<I, O>() { 290 * applying the given {@code AsyncFunction} to the result of the original 295 * AsyncFunction<RowKey, QueryResult> queryFunction = 296 * new AsyncFunction<RowKey, QueryResult>() { 335 AsyncFunction<? super I, ? extends O> function) { 343 * applying the given {@code AsyncFunction} t [all...] |
/external/chromium/chrome/browser/resources/sync_internals/ |
H A D | chrome_sync.js | 89 function AsyncFunction(name) { class 96 AsyncFunction.prototype.call = function() { 103 AsyncFunction.prototype.handleReply = function() { 112 chrome.sync.getAboutInfo_ = new AsyncFunction('getAboutInfo'); 119 new AsyncFunction('getNotificationState'); 125 new AsyncFunction('getNotificationInfo'); 131 chrome.sync.getRootNode_ = new AsyncFunction('getRootNode'); 136 chrome.sync.getNodeById_ = new AsyncFunction('getNodeById');
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | FuturesTransformAsyncFunctionTest.java | 29 * Unit tests for {@link Futures#transform(ListenableFuture, AsyncFunction)}. 57 private class ChainingFunction implements AsyncFunction<Integer, String> {
|
H A D | FuturesTest.java | 411 private static <I, O> AsyncFunction<I, O> constantAsyncFunction( 413 return new AsyncFunction<I, O>() { 424 AsyncFunction<Foo, BarChild> function = 425 new AsyncFunction<Foo, BarChild>() { 454 AsyncFunction<Foo, Bar> function = 455 new AsyncFunction<Foo, Bar>() { 1918 tester.setDefault(AsyncFunction.class, new AsyncFunction() {
|
Completed in 105 milliseconds