Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for wrapped (0.08 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. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/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)
  7. android/guava/src/com/google/common/eventbus/DeadEvent.java

      }
    
      /**
       * Returns the object that originated this event (not the object that originated the
       * wrapped event). This is generally an {@link EventBus}.
       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
       * subscriber.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/UniAddressTest.java

        void getAddressReturnsOriginalObject() {
            InetAddress dummy = mock(InetAddress.class);
            UniAddress ua = new UniAddress(dummy);
            assertSame(dummy, ua.getAddress(), "getAddress should return the wrapped address");
        }
    
        @Test
        void getHostNameDelegatesToWrappedInetAddress() {
            InetAddress dummy = mock(InetAddress.class);
            when(dummy.getHostName()).thenReturn("host.example.com");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

       * delegates to {@link #wrapTask(Callable)}.
       */
      protected Runnable wrapTask(Runnable command) {
        Callable<Object> wrapped = wrapTask(callable(command, null));
        return () -> {
          try {
            wrapped.call();
          } catch (Exception e) {
            restoreInterruptIfIsInterruptedException(e);
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

        Object addr;
        String calledName;
    
        /**
         * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or
         * <code>NbtAddress</code>.
         *
         * @param addr
         *            wrapped address
         */
        public UniAddress(final Object addr) {
            if (addr == null) {
                throw new IllegalArgumentException();
            }
            this.addr = addr;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top