Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 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/ImmutableClassToInstanceMapTest.java

        assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
      }
    
      public void testCopyOf_map_nulls() {
        Map<Class<? extends Number>, Number> nullKey = singletonMap(null, (Number) 1.0);
        assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullKey));
    
        Map<? extends Class<? extends Number>, Number> nullValue = singletonMap(Number.class, null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        Set<Feature<?>> inverseFeatures = new HashSet<>(mapFeatures);
    
        boolean nullKeys = inverseFeatures.remove(MapFeature.ALLOWS_NULL_KEYS);
        boolean nullValues = inverseFeatures.remove(MapFeature.ALLOWS_NULL_VALUES);
    
        if (nullKeys) {
          inverseFeatures.add(MapFeature.ALLOWS_NULL_VALUES);
        }
        if (nullValues) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top