Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Dawson (0.17 sec)

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

     *
     * <p>For interoperability between {@code ListenableFuture} and <b>{@code CompletableFuture}</b>,
     * consider <a href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.
     *
     * @author Sven Mawson
     * @since 10.0 (replacing {@code Futures.makeListenable}, which existed in 1.0)
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class JdkFutureAdapters {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Test case for {@link ListenableFutureTask}.
     *
     * @author Sven Mawson
     */
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ToStringHelperTest.java

    import com.google.common.collect.ImmutableMap;
    import java.util.Arrays;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreObjects#toStringHelper(Object)}.
     *
     * @author Jason Lee
     */
    @GwtCompatible
    public class ToStringHelperTest extends TestCase {
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_instance() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Test case for {@link ListenableFutureTask}.
     *
     * @author Sven Mawson
     */
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code
     * ListenableFuture} directly.
     *
     * @author Sven Mawson
     * @author Nishant Thakkar
     * @since 1.0
     */
    /*
     * Some of the annotations below were added after we released our separate
     * com.google.guava:listenablefuture:1.0 artifact. (For more on that artifact, see
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

     *
     * <p>Note to Guice users: {@code TypeToken} is similar to Guice's {@code TypeLiteral} class except
     * that it is serializable and offers numerous additional utility methods.
     *
     * @author Bob Lee
     * @author Sven Mawson
     * @author Ben Yu
     * @since 12.0
     */
    @SuppressWarnings("serial") // SimpleTypeToken is the serialized form.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

     * </ul>
     *
     * <p>If you do chain your operations manually, you may want to use {@link FluentFuture}.
     *
     * @author Kevin Bourrillion
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Futures extends GwtFuturesCatchingSpecialization {
    
      // A note on memory visibility.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link SettableFuture}.
     *
     * @author Sven Mawson
     */
    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link SettableFuture}.
     *
     * @author Sven Mawson
     */
    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (0)
Back to top