Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for adapters (0.04 seconds)

  1. src/main/java/org/codelibs/core/log/JclLoggerAdapterFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    import org.apache.commons.logging.LogFactory;
    
    /**
     * Factory for creating adapters that use (Jakarta) Commons Logging loggers.
     *
     * @author koichik
     */
    class JclLoggerAdapterFactory implements LoggerAdapterFactory {
    
        @Override
        public LoggerAdapter getLoggerAdapter(final Class<?> clazz) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * ```
       */
      private val attributeTypeAndValue: BasicDerAdapter<AttributeTypeAndValue> =
        Adapters.sequence(
          "AttributeTypeAndValue",
          Adapters.OBJECT_IDENTIFIER,
          Adapters.any(
            String::class to Adapters.UTF8_STRING,
            Nothing::class to Adapters.PRINTABLE_STRING,
            AnyValue::class to Adapters.ANY_VALUE,
          ),
          decompose = {
            listOf(
              it.type,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/log/LoggerAdapterFactory.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    /**
     * Factory for creating logger adapters.
     *
     * @author koichik
     */
    interface LoggerAdapterFactory {
    
        LoggerAdapter getLoggerAdapter(Class<?> clazz);
    
        void releaseAll();
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 837 bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/log/JulLoggerAdapterFactory.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    /**
     * Factory for creating adapters that use java.util.logging loggers.
     *
     * @author koichik
     */
    class JulLoggerAdapterFactory implements LoggerAdapterFactory {
    
        @Override
        public LoggerAdapter getLoggerAdapter(final Class<?> clazz) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1002 bytes
    - Click Count (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private var limit = -1L
    
      /** Type hints scoped to the call stack, manipulated with [withTypeHint]. */
      private val typeHintStack = mutableListOf<Any?>()
    
      /**
       * The type hint for the current object. Used to pick adapters based on other fields, such as
       * in extensions which have different types depending on their extension ID.
       */
      var typeHint: Any?
        get() = typeHintStack.lastOrNull()
        set(value) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. 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
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testTransitivityBrokenAcrossEqualityGroups() {
        EqualsTester tester =
            new EqualsTester()
                .addEqualityGroup(named("foo").addPeers("bar"), named("bar").addPeers("foo", "x"))
                .addEqualityGroup(named("baz").addPeers("x"), named("x").addPeers("baz", "bar"));
        try {
          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  8. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testTransitivityBrokenAcrossEqualityGroups() {
        EqualsTester tester =
            new EqualsTester()
                .addEqualityGroup(named("foo").addPeers("bar"), named("bar").addPeers("foo", "x"))
                .addEqualityGroup(named("baz").addPeers("x"), named("x").addPeers("baz", "bar"));
        try {
          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  10. 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);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top