Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for AnonymousToLambda (0.1 seconds)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

       * for bridge methods.
       */
      // We use an anonymous class to be sure that we generate two methods (bridge and original).
      @SuppressWarnings("AnonymousToLambda")
      public void testRegistrationWithBridgeMethod() {
        AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/eventbus/EventBusTest.java

       * for bridge methods.
       */
      // We use an anonymous class to be sure that we generate two methods (bridge and original).
      @SuppressWarnings("AnonymousToLambda")
      public void testRegistrationWithBridgeMethod() {
        AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

      private static final int INITIAL_DELAY = 10;
      private static final int DELAY = 20;
      private static final TimeUnit UNIT = MILLISECONDS;
    
      // Unique runnable object used for comparison.
      @SuppressWarnings("AnonymousToLambda")
      final Runnable testRunnable =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      boolean called = false;
    
      private void assertSingleCallWithCorrectParameters(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

      private static final int INITIAL_DELAY = 10;
      private static final int DELAY = 20;
      private static final TimeUnit UNIT = MILLISECONDS;
    
      // Unique runnable object used for comparison.
      @SuppressWarnings("AnonymousToLambda")
      final Runnable testRunnable =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      boolean called = false;
    
      private void assertSingleCallWithCorrectParameters(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        GcFinalization.awaitClear(futureRef);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testWhenAllSucceed_releasesCallable() throws Exception {
        @SuppressWarnings("AnonymousToLambda") // We want an instance that can be GCed.
        AsyncCallable<Long> combiner =
            new AsyncCallable<Long>() {
              @Override
              public ListenableFuture<Long> call() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        GcFinalization.awaitClear(futureRef);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testWhenAllSucceed_releasesCallable() throws Exception {
        @SuppressWarnings("AnonymousToLambda") // We want an instance that can be GCed.
        AsyncCallable<Long> combiner =
            new AsyncCallable<Long>() {
              @Override
              public ListenableFuture<Long> call() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top