Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 4,689 for nulls (0.04 seconds)

  1. guava-tests/test/com/google/common/base/FunctionsTest.java

        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertThat(function.apply("Null")).isNull();
    
        assertThrows(IllegalArgumentException.class, () -> function.apply("Two"));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

        if (initialCapacity != null) {
          builder.initialCapacity(initialCapacity);
        }
        if (maximumSize != null) {
          builder.maximumSize(maximumSize);
        }
        if (maximumWeight != null) {
          builder.maximumWeight(maximumWeight);
        }
        if (concurrencyLevel != null) {
          builder.concurrencyLevel(concurrencyLevel);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheBuilderSpec.java

        if (initialCapacity != null) {
          builder.initialCapacity(initialCapacity);
        }
        if (maximumSize != null) {
          builder.maximumSize(maximumSize);
        }
        if (maximumWeight != null) {
          builder.maximumWeight(maximumWeight);
        }
        if (concurrencyLevel != null) {
          builder.concurrencyLevel(concurrencyLevel);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         */
        public String[] getInputs() {
            return inputs == null ? null : inputs.clone();
        }
    
        /**
         * Gets the input words as a newline-separated string.
         *
         * @return The input words as a string.
         */
        public String getInputsValue() {
            if (inputs == null) {
                return StringUtil.EMPTY;
            }
            return String.join("\n", inputs);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            if (plugin == null && project.getPluginManagement() != null) {
                plugin = findPlugin(g, a, project.getPluginManagement().getPlugins());
            }
    
            if (plugin != null) {
                PluginExecution pluginExecution =
                        findPluginExecution(mojoExecution.getExecutionId(), plugin.getExecutions());
    
                XmlNode pomConfiguration = null;
    
                if (pluginExecution != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            final byte[] result = Base64Util.decode("");
            assertNull("Empty string should return null", result);
        }
    
        /**
         * Test decode with null
         *
         * @throws Exception
         */
        public void testDecode_Null() throws Exception {
            final byte[] result = Base64Util.decode(null);
            assertNull("Null should return null", result);
        }
    
        /**
         * Test encode/decode round trip with various data
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
       * <p>This method takes ownership of {@code contents}; do not modify {@code contents} after this
       * returns.
       *
       * @throws NullPointerException if any of the first {@code n} elements of {@code contents} is null
       */
      static <E> ImmutableSortedSet<E> construct(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/StandardTable.java

        return rowKey != null && safeContainsKey(backingMap, rowKey);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        return (rowKey == null || columnKey == null) ? null : super.get(rowKey, columnKey);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

            if (text == null) {
                return null;
            }
            String tmp = text;
            for (final Normalizer normalizer : normalizers) {
                tmp = normalizer.normalize(tmp, field, langs);
                if (tmp == null) {
                    return null;
                }
            }
            return tmp;
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

        }
    
        /**
         * Interpolates given {@code path}.
         *
         * @return absolute path or {@code null} if the input was {@code null}
         */
        public String interpolate(String path, ProfileActivationContext context) throws InterpolationException {
            if (path == null) {
                return null;
            }
    
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top