Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for nullKey (0.03 sec)

  1. src/test/java/org/codelibs/fess/util/DocMapTest.java

            DocMap docMap = new DocMap(parentMap);
    
            docMap.put("nullKey", null);
            assertTrue(docMap.containsKey("nullKey"));
            assertTrue(docMap.containsValue(null));
            assertNull(docMap.get("nullKey"));
    
            assertNull(docMap.put("nullKey", "newValue"));
            assertEquals("newValue", docMap.get("nullKey"));
        }
    
        public void test_map_interface_compliance() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        }
    
        // Test getAsString with null value
        public void test_getAsStringWithNullValue() {
            dataStoreParams.put("nullKey", null);
            assertNull(dataStoreParams.getAsString("nullKey"));
        }
    
        // Test getAsString for non-existent key
        public void test_getAsStringNonExistentKey() {
            assertNull(dataStoreParams.getAsString("nonexistent"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      }
    
      public void testOfEntriesNull() {
        Entry<@Nullable Integer, Integer> nullKey = entry(null, 23);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullKey));
        Entry<Integer, @Nullable Integer> nullValue =
            ImmutableBiMapTest.<@Nullable Integer>entry(23, null);
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            .testEquals();
      }
    
      public void testOfEntriesNull() {
        Entry<@Nullable Integer, @Nullable Integer> nullKey = entry(null, 23);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey));
        Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            try {
                WebApiUtil.setObject("validKey", "validValue");
                WebApiUtil.setObject("", "emptyKey");
                WebApiUtil.setObject("nullValue", null);
                WebApiUtil.setObject(null, "nullKey");
                WebApiUtil.setObject(null, null);
            } catch (Exception e) {
                fail("setObject should handle parameter validation gracefully: " + e.getMessage());
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. cycle_suppress_list.txt

    FIELD com.google.common.util.concurrent.ExecutionSequencer.ThreadConfinedTaskQueue.nextExecutor com.google.common.util.concurrent.ExecutionSequencer.TaskNonReentrantExecutor
    # Real cycle, but the runningState field is null'ed on completion of the future.
    FIELD com.google.common.util.concurrent.AggregateFuture.runningState
    FIELD java.util.AbstractMap.keySet com.google.common.collect.AbstractMapBasedMultimap.NavigableKeySet
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 24 01:59:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

              subArray.contains(expectedSubArray[i]));
        }
        assertNull(
            "The array element immediately following the end of the collection should be nulled",
            array[getNumElements()]);
        // array[getNumElements() + 1] might or might not have been nulled
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testToArray_oversizedArray_ordered() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

                T[] result = super.toArray(array);
                if (size() < result.length) {
                  // It works around a GWT bug where elements after last is not
                  // properly null'ed.
                  @Nullable Object[] unsoundlyCovariantArray = result;
                  unsoundlyCovariantArray[size()] = null;
                }
                return result;
              }
            });
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

            }
          }
    
          @Override
          public Entry<E> next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            // requireNonNull is safe because current is only nulled out after iteration is complete.
            Entry<E> result = wrapEntry(requireNonNull(current));
            prevEntry = result;
            if (current.succ() == header) {
              current = null;
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

          if (super.cancel(interruptIfRunning)) {
            /*
             * requireNonNull is generally safe: If cancel succeeded, then this Future was still
             * pending, so its `state` field hasn't been nulled out yet.
             *
             * OK, it's technically possible for this to fail in the presence of unsafe publishing, as
             * discussed in the comments in TimeoutFuture. TODO(cpovirk): Maybe check for null before
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top