Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 172 for ALLOWS_NULL_VALUES (0.13 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullUnsupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          expectUnchanged();
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNull_supported() {
        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
        expectContents(array);
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    return singleton(elements[0]);
                  }
                })
            .named("singleton")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ONE)
            .suppressing(suppressForSingletonSet())
            .createTestSuite();
      }
    
      public Test testsForHashSet() {
        return SetTestSuiteBuilder.using(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

      private static final Feature<?>[] FOR_MAP_FEATURES_ONE = {
        CollectionSize.ONE,
        ALLOWS_NULL_VALUES,
        SUPPORTS_REMOVE,
        CollectionFeature.SUPPORTS_ITERATOR_REMOVE
      };
    
      private static final Feature<?>[] FOR_MAP_FEATURES_ANY = {
        CollectionSize.ANY,
        ALLOWS_NULL_VALUES,
        SUPPORTS_REMOVE,
        CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testSetCount_removeNull_nullSupported() {
        initCollectionWithNullElement();
        assertSetCount(null, 0);
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
          absent = RESTRICTS_ELEMENTS)
      public void testSetCount_addNull_nullSupported() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnPresentKey_supported() {
        assertTrue(multimap().putAll(k0(), newArrayList(v3(), null)));
        assertGet(k0(), v0(), v3(), null);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnAbsentKey_supported() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.1K bytes
    - Click Count (0)
Back to Top