- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for handlers (0.25 sec)
-
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * <pre>{@code * static final ImmutableClassToInstanceMap<Handler> HANDLERS = * new ImmutableClassToInstanceMap.Builder<Handler>() * .put(FooHandler.class, new FooHandler()) * .put(BarHandler.class, new SubBarHandler()) * .put(Handler.class, new QuuxHandler()) * .build(); * }</pre> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 10 21:56:03 GMT 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
* A builder for creating immutable type-to-instance maps. Example: * * <pre>{@code * static final ImmutableTypeToInstanceMap<Handler<?>> HANDLERS = * ImmutableTypeToInstanceMap.<Handler<?>>builder() * .put(new TypeToken<Handler<Foo>>() {}, new FooHandler()) * .put(new TypeToken<Handler<Bar>>() {}, new SubBarHandler()) * .build(); * }</pre> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 20:46:24 GMT 2022 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
} }; @Override protected final void tearDown() { tearDownStack.runTearDown(); assertNull( "exceptions should not be propagated to uncaught exception handlers", thrownByExecutionThread); } public void testServiceStartStop() throws Exception { WaitOnRunService service = new WaitOnRunService(); assertFalse(service.startUpCalled);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
* * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut * down the executor after the last event has been posted to this event bus. * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers. * See {@link SubscriberExceptionHandler} for more information. * @since 16.0 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 2.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
* @since 8.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class UncaughtExceptionHandlers { private UncaughtExceptionHandlers() {} /** * Returns an exception handler that exits the system. This is particularly useful for the main * thread, which may start up other, non-daemon threads, but fail to fully initialize the * application successfully. * * <p>Example usage: *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
private final EventBus eventBus; private final Object event; private final Object subscriber; private final Method subscriberMethod; /** * @param eventBus The {@link EventBus} that handled the event and the subscriber. Useful for * broadcasting a new event based on the error. * @param event The event object that caused the subscriber to throw. * @param subscriber The source subscriber context.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
item + " must not be Object#equals to its Object#toString representation", !item.equals(item.toString())); } } } /** * Class used to test whether equals() correctly handles an instance of an incompatible class. * Since it is a private inner class, the invoker can never pass in an instance to the tester */ private enum NotAnInstance { EQUAL_TO_NOTHING; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import javax.annotation.CheckForNull; /** * Base class for implementing services that can handle {@link #doStart} and {@link #doStop} * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()} * callbacks. Its subclasses must manage threads manually; consider {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 20.4K bytes - Viewed (0)