Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for AsyncFunction (0.07 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              throw new RejectedExecutionException();
            }
          };
    
      private static <V> AsyncFunction<V, V> asyncIdentity() {
        return Futures::immediateFuture;
      }
    
      private static <I, O> AsyncFunction<I, O> tagged(String toString, AsyncFunction<I, O> function) {
        return new AsyncFunction<I, O>() {
          @Override
          public ListenableFuture<O> apply(I input) throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              throw new RejectedExecutionException();
            }
          };
    
      private static <V> AsyncFunction<V, V> asyncIdentity() {
        return Futures::immediateFuture;
      }
    
      private static <I, O> AsyncFunction<I, O> tagged(String toString, AsyncFunction<I, O> function) {
        return new AsyncFunction<I, O>() {
          @Override
          public ListenableFuture<O> apply(I input) throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          Class<X> exceptionType, AsyncClosingFunction<? super X, W> fallback, Executor executor) {
        checkNotNull(fallback);
        AsyncFunction<X, W> asyncFunction =
            new AsyncFunction<X, W>() {
              @Override
              public ListenableFuture<W> apply(X exception) throws Exception {
                return state.closeables.applyAsyncClosingFunction(fallback, exception);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top