Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for listenForDoubles (0.07 sec)

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

          eventsReceived.add(event);
          ready = false;
          try {
            bus.post(SECOND);
          } finally {
            ready = true;
          }
        }
    
        @Subscribe
        public void listenForDoubles(Double event) {
          assertTrue("I received an event when I wasn't ready!", ready);
          eventsReceived.add(event);
        }
      }
    
      public void testEventOrderingIsPredictable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
Back to top