Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 506 for wrapped (0.03 sec)

  1. android/guava/src/com/google/common/primitives/Primitives.java

        // cast is safe: long.class and Long.class are both of type Class<Long>
        @SuppressWarnings("unchecked")
        Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type);
        return (wrapped == null) ? type : wrapped;
      }
    
      /**
       * Returns the corresponding primitive type of {@code type} if it is a wrapper type; otherwise
       * returns {@code type} itself. Idempotent.
       *
       * <pre>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

    import java.util.regex.Pattern;
    
    /**
     * A wrapper class for CrawlerClientFactory that delegates operations to an underlying factory instance.
     * This wrapper allows for parameter management and initialization before delegating to the wrapped factory.
     *
     * The wrapper maintains its own parameter map which can be initialized separately from the wrapped factory,
     * and provides access to the wrapped factory instance through getParent().
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            ParameterNotInstantiableException.class,
            () -> new ClassSanityTester().doTestEquals(SetWrapper.class));
      }
    
      private abstract static class Wrapper {
        private final Object wrapped;
    
        Wrapper(Object wrapped) {
          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                    throw new RuntimeException("Wrapper exception", cause);
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job
            String result = aggregateLogJob.execute();
    
            // Verify result contains the wrapper exception message
            assertNotNull(result);
            assertTrue(result.contains("Wrapper exception"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/UnicodeString.java

        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
         * @param rus
         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
            this.length = rus.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                    Object wrapper = newPrivateInner("ResourceFilterWrapper", new Class<?>[] { SmbFileFilter.class }, dos);
    
                    Object unwrapped =
                            invokePrivate(SmbEnumerationUtil.class, "unwrapDOSFilter", new Class<?>[] { ResourceFilter.class }, wrapper);
                    assertNotNull(unwrapped);
                    assertTrue(unwrapped instanceof DosFileFilter);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

        checkNotNull(future);
        try {
          return getUninterruptibly(future);
        } catch (ExecutionException wrapper) {
          if (wrapper.getCause() instanceof Error) {
            throw new ExecutionError((Error) wrapper.getCause());
          }
          /*
           * It's an Exception. (Or it's a non-Error, non-Exception Throwable. From my survey of such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
       * propagated. If, on the other hand, the time limit is reached, we attempt to abort the call to
       * the target, and throw a {@link TimeoutException} to the caller.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/HandlerTest.java

            assertNotNull(connection2, "Second connection should not be null.");
            assertTrue(connection1 instanceof NtlmHttpURLConnection, "First connection should be wrapped.");
            assertTrue(connection2 instanceof NtlmHttpURLConnection, "Second connection should be wrapped.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

    import java.io.InputStream;
    
    /**
     * A wrapper for an {@link InputStream} that ignores the {@link #close()} method call.
     * This can be useful when you want to prevent the underlying input stream from being closed.
     *
     * <p>All other methods delegate to the wrapped input stream.</p>
     *
     */
    public class IgnoreCloseInputStream extends InputStream {
    
        /** The wrapped input stream. */
        private transient InputStream inputStream;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top