Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 5,397 for returns (0.05 sec)

  1. README.md

    ```java
    import org.codelibs.core.convert.*;
    
    // Safe type conversions with null handling
    Integer value = IntegerConversionUtil.toInteger("123");        // Returns 123
    Integer nullValue = IntegerConversionUtil.toInteger(null);     // Returns null
    Boolean flag = BooleanConversionUtil.toBoolean("true");        // Returns true
    Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd");
    
    // Primitive conversions with default values
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            }
        }
    
        public void test_findOnMainSchema_alwaysReturnsNull() {
            // Since the implementation always returns null (no DBFlute classification used),
            // test that it consistently returns null for any input
            assertNull(invokeMethod(provider, "findOnMainSchema", "TestClassification"));
            assertNull(invokeMethod(provider, "findOnMainSchema", ""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            assertEquals("login failed", ex.getMessage());
            verify(tree).connectLogon(context);
        }
    
        @Test
        @DisplayName("send without params returns the stubbed response")
        void send_noParams_returnsResponse() throws Exception {
            // Arrange - generic return type respected
            when(tree.send(request)).thenReturn(response);
    
            // Act
            CommonServerMessageBlockResponse out = tree.send(request);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMultimap.java

       * {@link Multimap#asMap}.
       *
       * @see Map#hashCode
       */
      @Override
      public int hashCode() {
        return asMap().hashCode();
      }
    
      /**
       * Returns a string representation of the multimap, generated by calling {@code toString} on the
       * map returned by {@link Multimap#asMap}.
       *
       * @return a string representation of the multimap
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            h[3] = (byte) (length & 0xFF);
            return h;
        }
    
        /**
         * Creates a NetBIOS keep-alive header.
         * Keep-alive packets have type 0x85 and zero length.
         */
        private static byte[] keepAliveHeader() {
            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_KEEP_ALIVE;
            h[1] = h[2] = h[3] = 0;
            return h;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

      private TestingExecutors() {}
    
      /**
       * Returns a {@link ScheduledExecutorService} that never executes anything.
       *
       * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite
       * the fact that everything is still technically awaiting execution. The {@code getDelay} method
       * of any {@link ScheduledFuture} returned by the executor will always return the max long value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         *
         * @param sessionId the session ID to process
         * @return the canonical session ID (portion before first hyphen, or original if no hyphen)
         */
        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/IndexedIterator.java

            assertArgumentNotNull("iterable", iterable);
            return indexed(iterable.iterator());
        }
    
        /**
         * Returns an {@link Iterable} that wraps an {@link IndexedIterator} for use in a for-each statement.
         *
         * @param <T> the element type
         * @param iterator the iterator (must not be {@literal null})
         * @return an {@link Iterable} wrapping an {@link IndexedIterator}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HostSpecifier.java

          HostSpecifier unused = fromValid(specifier);
          return true;
        } catch (IllegalArgumentException e) {
          return false;
        }
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (this == other) {
          return true;
        }
    
        if (other instanceof HostSpecifier) {
          HostSpecifier that = (HostSpecifier) other;
          return this.canonicalForm.equals(that.canonicalForm);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

        this.parameters = parameters;
      }
    
      /** Returns the top-level media type. For example, {@code "text"} in {@code "text/plain"}. */
      public String type() {
        return type;
      }
    
      /** Returns the media subtype. For example, {@code "plain"} in {@code "text/plain"}. */
      public String subtype() {
        return subtype;
      }
    
      /** Returns a multimap containing the parameters of this media type. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top