Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2151 - 2160 of 3,735 for Null (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

        assertThrows(NullPointerException.class, () -> getMap().replace(k0(), null));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testReplace_absentNullValueUnsupported() {
        try {
          getMap().replace(k3(), null);
        } catch (NullPointerException tolerated) {
          // permitted not to throw because it would be a no-op
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapDifference.java

       * {@link #rightValue} are not equal, and one but not both of them may be null.
       *
       * @since 2.0
       */
      @DoNotMock("Use Maps.difference")
      interface ValueDifference<V extends @Nullable Object> {
        /** Returns the value from the left map (possibly null). */
        @ParametricNullness
        V leftValue();
    
        /** Returns the value from the right map (possibly null). */
        @ParametricNullness
        V rightValue();
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeVisitor.java

      /**
       * Visits the given types. Null types are ignored. This allows subclasses to call {@code
       * visit(parameterizedType.getOwnerType())} safely without having to check nulls.
       */
      public final void visit(@Nullable Type... types) {
        for (Type type : types) {
          if (type == null || !visited.add(type)) {
            // null owner type, or already visited;
            continue;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         * @return List of matching toolchains, never null
         * @throws ToolchainManagerException if toolchain retrieval fails
         */
        @Nonnull
        default List<Toolchain> getToolchains(@Nonnull Session session, @Nonnull String type)
                throws ToolchainManagerException {
            return getToolchains(session, type, null);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public long updateAndGet(K key, LongUnaryOperator updaterFunction) {
        checkNotNull(updaterFunction);
        Long result =
            map.compute(
                key, (k, value) -> updaterFunction.applyAsLong(value == null ? 0L : value.longValue()));
        return requireNonNull(result);
      }
    
      /**
       * Updates the value currently associated with {@code key} with the specified function, and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TopKSelector.java

        if (bufferSize > k) {
          Arrays.fill(buffer, k, buffer.length, null);
          bufferSize = k;
          threshold = buffer[k - 1];
        }
        // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null)
        T[] topK = Arrays.copyOf(castBuffer, bufferSize);
        // we have to support null elements, so no ImmutableList for us
        return unmodifiableList(asList(topK));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exbhv/BadWordBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class BadWordBhv extends BsBadWordBhv {
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exbhv/FailureUrlBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class FailureUrlBhv extends BsFailureUrlBhv {
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exbhv/FileAuthenticationBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class FileAuthenticationBhv extends BsFileAuthenticationBhv {
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exbhv/RelatedContentBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class RelatedContentBhv extends BsRelatedContentBhv {
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top