Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 4,154 for nulls (0.02 sec)

  1. android/guava/src/com/google/common/collect/MoreCollectors.java

       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
       *     {@code null}) and returns {@code Optional.empty()} if it has none.
       */
      @SuppressWarnings("unchecked")
      public static <T> Collector<T, ?, Optional<T>> toOptional() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                    }));
        expectReplacement(entry(getKeyForNullValue(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testMergeAbsentNullKey() {
        assertEquals(
            "Map.merge(null, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    null,
                    v3(),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        private var bodyVar: MockResponseBody? = null
        private var socketHandlerVar: SocketHandler? = null
        private var webSocketListenerVar: WebSocketListener? = null
    
        public var body: MockResponseBody?
          get() = bodyVar
          private set(value) {
            bodyVar = value
            socketHandlerVar = null
            webSocketListenerVar = null
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

        if (inflater.bytesRead < totalBytesToRead) {
          deflatedBytes.clear()
          inflaterSource.close()
          this.inflaterSource = null
          this.inflater = null
        }
      }
    
      @Throws(IOException::class)
      override fun close() {
        inflaterSource?.close()
        inflaterSource = null
        inflater = null
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:26:07 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

         *
         * @return The global toolchains source or {@code null} if none.
         */
        Source getGlobalToolchainsSource();
    
        /**
         * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains
         * take precedence.
         *
         * @param globalToolchainsSource The global toolchains source, may be {@code null} to disable global toolchains.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

     * whose next element can always be derived from the previous element. Null elements are not
     * supported, nor is the {@link #remove()} method.
     *
     * <p>Example:
     *
     * {@snippet :
     * Iterator<Integer> powersOfTwo =
     *     new AbstractSequentialIterator<Integer>(1) {
     *       protected Integer computeNext(Integer previous) {
     *         return (previous == 1 << 30) ? null : previous * 2;
     *       }
     *     };
     * }
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.open = false;
            if (this.input != null) {
                this.input.close();
                this.input = null;
            }
    
            if (this.output != null) {
                this.output.close();
                this.output = null;
            }
    
            try {
                if (wasOpen) {
                    this.handle.close();
                } else if (this.handle != null) {
                    this.handle.release();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertNotNull("Response should not be null", result);
                assertEquals(200, result.getHttpStatusCode());
            } catch (Exception e) {
                fail("Should not throw exception: " + e.getMessage());
            }
    
            // Test without timeout (null accessTimeout)
            client.setAccessTimeout(null);
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         * @return the normalized content, or empty string if content is null
         */
        public String getContent(final CrawlingConfig crawlingConfig, final ResponseData responseData, final String content,
                final Map<String, Object> dataMap) {
            if (content == null) {
                return StringUtil.EMPTY; // empty
            }
    
            if (crawlingConfig != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            MavenProject prj = getMavenProject(requireNonNull(project, "project" + " cannot be null"));
            prj.addSourceRoot(
                    requireNonNull(scope, "scope" + " cannot be null"),
                    requireNonNull(language, "language" + " cannot be null"),
                    requireNonNull(directory, "directory" + " cannot be null"));
        }
    
        @Override
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top