Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 133 for ALLOWS_NULL_VALUES (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                      }
                    })
                .named("unmodifiableNavigableMap[SafeTreeMap]")
                .withFeatures(
                    CollectionSize.ANY, MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SERIALIZABLE)
                .createTestSuite());
        suite.addTest(
            BiMapTestSuiteBuilder.using(
                    new TestStringBiMapGenerator() {
                      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. 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
    - 19.8K bytes
    - Click Count (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES)
                .named("Multisets.union")
                .createTestSuite());
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(intersectionGenerator())
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.KNOWN_ORDER)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.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.features.MapFeature.SUPPORTS_REMOVE;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        assertNull("put(key, null) should return null", put(nullValueEntry));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPut_nullValueUnsupported() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  }
                })
            .named("checkedMap/HashMap")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.ALLOWS_ANY_NULL_QUERIES,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.RESTRICTS_VALUES,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  10. 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)
Back to Top