Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handleString (0.09 sec)

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

      private final StringSubscriber s2 = new StringSubscriber("s2");
      private final ImmutableList<Subscriber> stringSubscribers =
          ImmutableList.of(
              subscriber(bus, s1, "handleString", String.class),
              subscriber(bus, s2, "handleString", String.class));
    
      private final ConcurrentLinkedQueue<Object> dispatchedSubscribers = new ConcurrentLinkedQueue<>();
    
      private Dispatcher dispatcher;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java

        eventBus.register(this);
      }
    
      @Benchmark
      void postStrings(int reps) {
        for (int i = 0; i < reps; i++) {
          eventBus.post("hello there");
        }
      }
    
      @Subscribe
      public void handleStrings(String string) {
        // Nothing to do here.
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top