Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for transform (0.2 sec)

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

            output.cancel(false);
            throw new MyRuntimeException();
          }
        }
        Transformer transformer = new Transformer();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = transform(input, transformer, directExecutor());
        transformer.output = output;
    
        input.set("foo");
        assertTrue(output.isCancelled());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            output.cancel(false);
            throw new MyRuntimeException();
          }
        }
        Transformer transformer = new Transformer();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = transform(input, transformer, directExecutor());
        transformer.output = output;
    
        input.set("foo");
        assertTrue(output.isCancelled());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * <p>A step can be the input to at most one derived step. Once you transform its value, catch its
     * exception, or combine it with others, you cannot do anything else with it, including declare it
     * to be the last step of the pipeline.
     *
     * <h4>Transforming</h4>
     *
     * To derive the next step by asynchronously applying a function to an input step's value, call
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

         *       Objects.equal}{@code (k1, k2) &&} {@link Objects#equal}{@code (v1, v2)} implies that
         *       {@code Objects.equal(transformer.transform(k1, v1), transformer.transform(k2, v2))}.
         * </ul>
         *
         * @throws NullPointerException if the key or value is null and this transformer does not accept
         *     null arguments
         */
        @ParametricNullness
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

    import static com.google.common.cache.CacheBuilder.NULL_TICKER;
    import static com.google.common.cache.CacheBuilder.UNSET_INT;
    import static com.google.common.util.concurrent.Futures.transform;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    import static java.util.Collections.unmodifiableSet;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

    import static com.google.common.cache.CacheBuilder.NULL_TICKER;
    import static com.google.common.cache.CacheBuilder.UNSET_INT;
    import static com.google.common.util.concurrent.Futures.transform;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    import static java.util.Collections.unmodifiableSet;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top