- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for wrappy (0.04 sec)
-
README.md
// Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ``` ## 🏗️ Architecture & Design Patterns ### Core Design Principles
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
} private @Nullable Type captureNullable(@Nullable Type type) { if (type == null) { return null; } return capture(type); } } /** * Wraps around {@code TypeVariable<?>} to ensure that any two type variables are equal as long as * they are declared by the same {@link java.lang.reflect.GenericDeclaration} and have the same * name, even if their bounds differ.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt
*/ fun newEventSource( request: Request, listener: EventSourceListener, ): EventSource companion object { /** * Wraps a [Call.Factory] into [EventSource.Factory]. */ @JvmStatic @JvmName("create") fun Call.Factory.asEventSourceFactory(): Factory = Factory { request, listener -> val actualRequest =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
* the request completes normally or when it fails due to an exception, in which case [e] should * be non-null. * * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides * that additional context. Otherwise [e] is returned as-is. */ internal fun messageDone( exchange: Exchange, requestDone: Boolean = false,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
private val eventListener = RecordingEventListener() private val listener = EventSourceRecorder() private var client = clientTestRule .newClientBuilder() .eventListenerFactory(clientTestRule.wrap(eventListener)) .build() @AfterEach fun after() { listener.assertExhausted() } @Test fun event() { server.enqueue( MockResponse .Builder() .body(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
} private @Nullable Type captureNullable(@Nullable Type type) { if (type == null) { return null; } return capture(type); } } /** * Wraps around {@code TypeVariable<?>} to ensure that any two type variables are equal as long as * they are declared by the same {@link java.lang.reflect.GenericDeclaration} and have the same * name, even if their bounds differ.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertTrue(type.isPrimitive()); assertNotWrapper(type); assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap()); } private static void assertNotPrimitive(TypeToken<?> type) { assertFalse(type.isPrimitive()); assertSame(type, type.wrap()); } private static void assertIsWrapper(TypeToken<?> type) { assertNotPrimitive(type);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertTrue(type.isPrimitive()); assertNotWrapper(type); assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap()); } private static void assertNotPrimitive(TypeToken<?> type) { assertFalse(type.isPrimitive()); assertSame(type, type.wrap()); } private static void assertIsWrapper(TypeToken<?> type) { assertNotPrimitive(type);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
docs/recipes.md
Upload a file to a server (for example, Imgur) and report progress as the request body is being written. You can implement a ProgressListener to receive updates and wrap the original request body with ProgressRequestBody. This allows you to monitor how many bytes have been uploaded and calculate the percentage of completion. === ":material-language-kotlin: Kotlin" ```kotlin
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
import static org.codelibs.core.stream.StreamUtil.stream; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.opensearch.core.action.ActionListener.wrap; import java.io.File; import java.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.charset.StandardCharsets; import java.text.SimpleDateFormat;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0)