- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Oliff (0.17 sec)
-
android/guava-tests/test/com/google/common/eventbus/StringCatcher.java
* * <p>For testing fun, also includes a landmine method that EventBus tests are required not * to call ({@link #methodWithoutAnnotation(String)}). * * @author Cliff Biffle */ public class StringCatcher { private List<String> events = Lists.newArrayList(); @Subscribe public void hereHaveAString(@Nullable String string) { events.add(string); }
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
import java.util.concurrent.Executor; /** * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events, * allowing dispatch to occur asynchronously. * * @author Cliff Biffle * @since 10.0 */ @ElementTypesAreNonnullByDefault public class AsyncEventBus extends EventBus { /** * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/StringCatcher.java
* * <p>For testing fun, also includes a landmine method that EventBus tests are required not * to call ({@link #methodWithoutAnnotation(String)}). * * @author Cliff Biffle */ public class StringCatcher { private List<String> events = Lists.newArrayList(); @Subscribe public void hereHaveAString(@Nullable String string) { events.add(string); }
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed May 16 22:49:59 GMT 2018 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
import java.lang.reflect.Method; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Subscriber}. * * @author Cliff Biffle * @author Colin Decker */ public class SubscriberTest extends TestCase { private static final Object FIXTURE_ARGUMENT = new Object(); private EventBus bus; private boolean methodCalled;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java
* may invoke the event subscriber simultaneously from multiple threads. * * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}. * * @author Cliff Biffle * @since 10.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @ElementTypesAreNonnullByDefault
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/DeadEvent.java
* * <p>Registering a DeadEvent subscriber is useful for debugging or logging, as it can detect * misconfigurations in a system's event distribution. * * @author Cliff Biffle * @since 10.0 */ @ElementTypesAreNonnullByDefault public class DeadEvent { private final Object source; private final Object event; /** * Creates a new DeadEvent. *
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
import com.google.common.collect.Lists; import java.util.List; import java.util.concurrent.Executor; import junit.framework.TestCase; /** * Test case for {@link AsyncEventBus}. * * @author Cliff Biffle */ public class AsyncEventBusTest extends TestCase { private static final String EVENT = "Hello"; /** The executor we use to fake asynchronicity. */ private FakeExecutor executor;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscribe.java
* the {@link EventBus}. * * <p>Unless also annotated with @{@link AllowConcurrentEvents}, event subscriber methods will be * invoked serially by each event bus that they are registered with. * * @author Cliff Biffle * @since 10.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @ElementTypesAreNonnullByDefault
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
import com.google.common.collect.Lists; import java.util.List; import java.util.concurrent.Executor; import junit.framework.TestCase; /** * Test case for {@link AsyncEventBus}. * * @author Cliff Biffle */ public class AsyncEventBusTest extends TestCase { private static final String EVENT = "Hello"; /** The executor we use to fake asynchronicity. */ private FakeExecutor executor;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue May 15 20:25:06 GMT 2018 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
import java.lang.reflect.Method; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Subscriber}. * * @author Cliff Biffle * @author Colin Decker */ public class SubscriberTest extends TestCase { private static final Object FIXTURE_ARGUMENT = new Object(); private EventBus bus; private boolean methodCalled;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.8K bytes - Viewed (0)