Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Oliff (0.15 sec)

  1. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  2. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  3. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test case for {@link ConcurrentHashMultiset}.
     *
     * @author Cliff L. Biffle
     * @author mike nonemacher
     */
    public class ConcurrentHashMultisetTest extends TestCase {
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  6. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed May 16 22:49:59 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  7. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test case for {@link ConcurrentHashMultiset}.
     *
     * @author Cliff L. Biffle
     * @author mike nonemacher
     */
    public class ConcurrentHashMultisetTest extends TestCase {
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/EventBus.java

     * DeadEvent.
     *
     * <p>This class is safe for concurrent use.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @ElementTypesAreNonnullByDefault
    public class EventBus {
    
      private static final Logger logger = Logger.getLogger(EventBus.class.getName());
    
      private final String identifier;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  10. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top