Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SequentialExecutor (0.28 sec)

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

          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
      public void setUp() {
        fakePool = new FakeExecutor();
        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
      public void setUp() {
        fakePool = new FakeExecutor();
        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * Executors#newSingleThreadExecutor}).
       *
       * @since 23.3 (since 23.1 as {@code sequentialExecutor})
       */
      @GwtIncompatible
      public static Executor newSequentialExecutor(Executor delegate) {
        return new SequentialExecutor(delegate);
      }
    
      /**
       * Creates an {@link ExecutorService} whose {@code submit} and {@code invokeAll} methods submit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top