Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SubscriberRegistry (0.12 sec)

  1. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

    import javax.annotation.CheckForNull;
    
    /**
     * Registry of subscribers to a single event bus.
     *
     * @author Colin Decker
     */
    @ElementTypesAreNonnullByDefault
    final class SubscriberRegistry {
    
      /**
       * All registered subscribers, indexed by event type.
       *
       * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

    import com.google.common.collect.Iterators;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link SubscriberRegistry}.
     *
     * @author Colin Decker
     */
    public class SubscriberRegistryTest extends TestCase {
    
      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

    import com.google.common.collect.Iterators;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link SubscriberRegistry}.
     *
     * @author Colin Decker
     */
    public class SubscriberRegistryTest extends TestCase {
    
      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top