- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for adapter (0.04 sec)
-
src/main/java/org/codelibs/core/log/Logger.java
}); initialized = true; } /** * Returns the logger adapter factory. * <p> * If Commons Logging is available, returns a factory for using Commons Logging. * If not available, returns a factory for using java.util.logging logger. * </p> * * @return the logger adapter factory */ protected static LoggerAdapterFactory getLoggerAdapterFactory() {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
} return new ListenableFutureAdapter<>(future, executor); } /** * An adapter to turn a {@link Future} into a {@link ListenableFuture}. This will wait on the * future to finish, and when it completes, run the listeners. This implementation will wait on * the source future indefinitely, so if the source future never completes, the adapter will never * complete either. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/LoggerAdapter.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.log; /** * Adapter for using any logging framework. * * @author koichik */ interface LoggerAdapter { boolean isFatalEnabled(); void fatal(String message); void fatal(String message, Throwable t);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EnumerationIterator.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Enumeration; import java.util.Iterator; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * Adapter to convert an {@link Enumeration} to an {@link Iterator}. * * @author shot * @param <T> the element type */ public class EnumerationIterator<T> implements Iterator<T> {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/JclLoggerAdapter.java
* governing permissions and limitations under the License. */ package org.codelibs.core.log; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * Logger adapter for Jakarta Commons Logging. * * @author koichik */ class JclLoggerAdapter implements LoggerAdapter { protected final String sourceClass; protected final Log logger; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/JulLoggerAdapter.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.log; import java.util.logging.Level; /** * Adapter that uses java.util.logging loggers. * * @author koichik */ class JulLoggerAdapter implements LoggerAdapter { protected final String sourceClass; protected final java.util.logging.Logger logger;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.9K bytes - Viewed (0) -
README.md
- **Builder Pattern** - `CopyOptions` for configuring bean copying operations with fluent API - **Adapter Pattern** - Logging adapters (`JclLoggerAdapter`, `JulLoggerAdapter`) for different logging frameworks - **Template Method** - Resource traversal utilities with customizable handlers
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
docs/recipes.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() private val moshi = Moshi.Builder().build() private val gistJsonAdapter = moshi.adapter(Gist::class.java) fun run() { val request = Request.Builder() .url("https://api.github.com/gists/c2a7c39532239ff261be") .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
val request = Request.Builder().url("https://www.howsmyssl.com/a/check").build() val response = client.newCall(request).execute() val results = response.use { moshi.adapter(HowsMySslResults::class.java).fromJson(response.body.string())!! } Platform.get().log("results $results", Platform.WARN) assertTrue(results.session_ticket_supported)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* code changes, you can use <a * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/guava/latest/com.github.benmanes.caffeine.guava/com/github/benmanes/caffeine/guava/CaffeinatedGuava.html">its * {@code CaffeinatedGuava} adapter class</a>, which lets you build a Guava {@code Cache} or a Guava * {@code LoadingCache} backed by a Guava {@code CacheLoader}. * * <p>Caffeine's API for asynchronous operations uses {@code CompletableFuture}: <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0)