- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for bus (0.01 sec)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
Method concat = String.class.getMethod("concat", String.class); new EqualsTester() .addEqualityGroup( Subscriber.create(bus, "foo", charAt), Subscriber.create(bus, "foo", charAt)) .addEqualityGroup(Subscriber.create(bus, "bar", charAt)) .addEqualityGroup(Subscriber.create(bus, "foo", concat)) .testEquals(); } private Method getTestSubscriberMethod(String name) { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
subscriber(bus, i3, "handleInteger", Integer.class)); private final StringSubscriber s1 = new StringSubscriber("s1"); 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));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 15:41:25 UTC 2022 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
compEvents.add(food); } }; bus.register(stringCatcher); bus.register(objCatcher); bus.register(compCatcher); // Two additional event types: Object and Comparable<?> (played by Integer) Object objEvent = new Object(); Object compEvent = 6; bus.post(EVENT); bus.post(objEvent); bus.post(compEvent); // Check the StringCatcher...
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
H getSubscriber() { return subscriber; } @Override protected void setUp() throws Exception { subscriber = createSubscriber(); EventBus bus = new EventBus(); bus.register(subscriber); bus.post(EVENT); } @Override protected void tearDown() throws Exception { subscriber = null; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
*/ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = Maps.newConcurrentMap(); /** The event bus this registry belongs to. */ @Weak private final EventBus bus; SubscriberRegistry(EventBus bus) { this.bus = checkNotNull(bus); } /** Registers all subscriber methods on the given listener object. */ void register(Object listener) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java
subscriber(bus, i3, "handleInteger", Integer.class)); private final StringSubscriber s1 = new StringSubscriber("s1"); 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));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 15:41:25 UTC 2022 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
H getSubscriber() { return subscriber; } @Override protected void setUp() throws Exception { subscriber = createSubscriber(); EventBus bus = new EventBus(); bus.register(subscriber); bus.post(EVENT); } @Override protected void tearDown() throws Exception { subscriber = null; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
return } case "ic": z.InitCapacity, err = dc.ReadUint64() if err != nil { err = msgp.WrapError(err, "InitCapacity") return } case "bus": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "Buckets") return } if cap(z.Buckets) >= int(zb0002) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Dispatcher.java
* thread. That is, all subscribers to a single event A will be called before any subscribers to * any events B and C that are posted to the event bus by the subscribers to A. */ static Dispatcher perThreadDispatchQueue() { return new PerThreadQueuedDispatcher(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 7.3K bytes - Viewed (0) -
impl/maven-core/plugin-manager.txt
* classloading capability - remote resolution of dependencies - do we want a model for sharing * information among plugins, is this more like an extension point - do we need a sort of bus for * application data - do we need a dictionary for our applications like Apple does. We could easily * hook into this and this is the model we need to follow - how many of our REST services do not map
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.9K bytes - Viewed (0)