- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 82 for something (0.58 sec)
-
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
assertFalse(listener.healthyCalled); } /** * This covers a bug where if a listener was installed that would stop the manager if any service * fails and something failed during startup before service.start was called on all the services, * then awaitStopped would deadlock due to an IllegalStateException that was thrown when trying to * stop the timer(!). */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 02 17:20:27 UTC 2023 - 23.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* String.class}, then {@code new TypeResolver().where(formal, actual)} will {@linkplain * #resolveType resolve} {@code ParameterizedType List<T>} to {@code List<String>}, and resolve * {@code Map<T, Something>} to {@code Map<String, Something>} etc. Similarly, {@code formal} and * {@code actual} can be {@code Map<K, V>} and {@code Map<String, Integer>} respectively, or they
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClusterException.java
import java.util.Arrays; import java.util.Collection; import java.util.Collections; /** * An {@link ClusterException} is a data structure that allows for some code to "throw multiple * exceptions", or something close to it. The prototypical code that calls for this class is * presented below: * * <pre> * void runManyThings({@literal List<ThingToRun>} thingsToRun) { * for (ThingToRun thingToRun : thingsToRun) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
// The JELLY_BEAN field doesn't exist because we're running on a version before Jelly Bean :) return new ThrowingCreator(); } catch (ClassNotFoundException e) { // Should be impossible, but we want to return *something* so that class init succeeds. return new ThrowingCreator(); } catch (IllegalAccessException e) { // ditto return new ThrowingCreator(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
setException(e); return; } catch (Error e) { /* * StackOverflowError, OutOfMemoryError (e.g., from allocating ExecutionException), or * something. Try to treat it like a RuntimeException. If we overflow the stack again, the * resulting Error will propagate upward up to the root call to set(). */ setException(e); return; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
<B extends A> void verifyTwoStageResolution() { @SuppressWarnings({"unchecked", "rawtypes"}) Type type = new TypeToken<B>(getClass()) {} // B's bound may have already resolved to something. // Make sure it can still further resolve when given a context. .where(new TypeParameter<B>() {}, (Class) Integer.class).getType(); assertEquals(Integer.class, type); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 19.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
<B extends A> void verifyTwoStageResolution() { @SuppressWarnings({"unchecked", "rawtypes"}) Type type = new TypeToken<B>(getClass()) {} // B's bound may have already resolved to something. // Make sure it can still further resolve when given a context. .where(new TypeParameter<B>() {}, (Class) Integer.class).getType(); assertEquals(Integer.class, type); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 19.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} @Override public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() { return mapGenerator; } } // TODO(cpovirk): could something like this be used elsewhere, e.g., ReserializedListGenerator? static class ForwardingTestMapGenerator<K extends @Nullable Object, V extends @Nullable Object> implements TestMapGenerator<K, V> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSink.java
* <li><b>Convenience methods:</b> These are implementations of common operations that are * typically implemented by opening a stream using one of the methods in the first category, * doing something and finally closing the stream or channel that was opened. * </ul> * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
* <li><b>Convenience methods:</b> These are implementations of common operations that are * typically implemented by opening a stream using one of the methods in the first category, * doing something and finally closing the stream or channel that was opened. * </ul> * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 5.5K bytes - Viewed (0)