Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for Jana (0.22 sec)

  1. android/guava/src/com/google/common/util/concurrent/FutureCallback.java

    /**
     * A callback for accepting the results of a {@link java.util.concurrent.Future} computation
     * asynchronously.
     *
     * <p>To attach to a {@link ListenableFuture} use {@link Futures#addCallback}.
     *
     * @author Anthony Zana
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface FutureCallback<V extends @Nullable Object> {
      /** Invoked with the result of the {@code Future} computation when it is successful. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 05 22:27:35 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

    import java.util.concurrent.Executor;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test for {@link FutureCallback}.
     *
     * @author Anthony Zana
     */
    @GwtCompatible
    public class FutureCallbackTest extends TestCase {
      public void testSameThreadSuccess() {
        SettableFuture<String> f = SettableFuture.create();
        MockCallback callback = new MockCallback("foo");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Nov 15 16:33:21 GMT 2022
    - 6.3K bytes
    - Viewed (0)
Back to top