- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 67 for subtypeOf (0.12 sec)
-
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* Tests our AtomicHelper fallback strategy in AggregateFutureState. * * <p>On different platforms AggregateFutureState uses different strategies for its core * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and * the strategy is selected in the static initializer of AggregateFutureState. This is convenient * and performant but introduces some testing difficulties. This test exercises the two fallback * strategies.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
* * <p>In addition to convenience methods, {@link TypeToken#method} and {@link TypeToken#constructor} * will resolve the type parameters of the method or constructor in the context of the owner type, * which may be a subtype of the declaring class. For example: * * {@snippet : * Method getMethod = List.class.getMethod("get", int.class); * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
/** * Tests our AtomicHelper fallback strategies in AbstractFuture. * * <p>On different platforms AbstractFuture uses different strategies for its core synchronization * primitives. The strategies are all implemented as subtypes of AtomicHelper and the strategy is * selected in the static initializer of AbstractFuture. This is convenient and performant but * introduces some testing difficulties. This test exercises the fallback strategies. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/graph/ValueGraph.java
* <li>graphs that do/don't allow self-loops * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered * <li>graphs whose edges have associated values * </ul> * * <p>{@code ValueGraph}, as a subtype of {@code Graph}, explicitly does not support parallel edges, * and forbids implementations or extensions with parallel edges. If you need parallel edges, use
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
String result = StringUtil.join(",", "z", "y", "x", "w", "v"); assertEquals("z,y,x,w,v", result); } @Test @DisplayName("Should handle delimiter as CharSequence subtype") void testJoinWithCharSequenceDelimiter() { StringBuilder delimiter = new StringBuilder(" | "); String result = StringUtil.join(delimiter, "one", "two"); assertEquals("one | two", result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
} private fun bodyIsStreaming(response: Response): Boolean { val contentType = response.body.contentType() return contentType != null && contentType.type == "text" && contentType.subtype == "event-stream" } companion objectRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} catch (AssertionError expected) { assertThat(expected) .hasMessageThat() .isEqualTo( "No public static methods that return java.lang.Object or subtype are found in " + NoPublicStaticMethods.class + "."); return; } fail(); } public void testEqualsOnReturnValues_bad() throws Exception { try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
assertTrue(SmbSession.class.isAssignableFrom((Class<?>) unwrapMethod.getReturnType()), "unwrap method should return SmbSession or subtype"); }, "unwrap(Class) method should be properly defined"); } @Test @DisplayName("Should handle unwrap with SmbSession type") void shouldHandleUnwrapWithSmbSessionType() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* helps to shortcut most calls to isEmpty(), which is important because the check for emptiness * is relatively expensive. Use a subtype so this also doesn't need any extra storage. */ private static final class UnconditionalValueHolder extends ValueHolder {} } private MoreObjects() {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val mediaType: MediaType = "".toMediaType() val defaultCharset: Charset? = mediaType.charset() val charset: Charset? = mediaType.charset(Charsets.UTF_8) val type: String = mediaType.type val subtype: String = mediaType.subtype val parse: MediaType? = "".toMediaTypeOrNull() } @Test fun mockResponse() { var mockResponse: MockResponse = MockResponse() var status: String = mockResponse.status
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 47K bytes - Viewed (0)