Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Input (0.24 sec)

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

          @Override
          public Object apply(Object input) {
            output.cancel(false);
            throw new MyError();
          }
        }
        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)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          @Override
          public Object apply(Object input) {
            output.cancel(false);
            throw new MyError();
          }
        }
        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)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * Executor)} on the input step.
     *
     * <h4>Catching</h4>
     *
     * To derive the next step from a failed input step, call {@link #catching(Class, ClosingFunction,
     * Executor)} or {@link #catchingAsync(Class, AsyncClosingFunction, Executor)} on the input step.
     *
     * <h4>Combining</h4>
     *
     * To derive a {@code ClosingFuture} from two or more input steps, pass the input steps to {@link
    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

        protected A doBackward(B b) {
          return convert(bimap.inverse(), b);
        }
    
        private static <X, Y> Y convert(BiMap<X, Y> bimap, X input) {
          Y output = bimap.get(input);
          checkArgument(output != null, "No non-null mapping present for input: %s", input);
          return output;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    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)
Back to top