Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for CollectionFeature (0.1 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.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.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                MapFeature.RESTRICTS_KEYS,
                MapFeature.SUPPORTS_REMOVE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionSize.ANY)
            .named("Hashtable")
            .suppressing(suppressForHashtable())
    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)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        Set<Feature<?>> derivedFeatures = copyToSet(multimapFeatures);
        if (!derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) {
          derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        }
        if (derivedFeatures.remove(MapFeature.SUPPORTS_REMOVE)) {
          derivedFeatures.add(CollectionFeature.SUPPORTS_REMOVE);
        }
        return derivedFeatures;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import java.util.Collections;
    import org.junit.Ignore;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

          derivedFeatures.add(CollectionFeature.REJECTS_DUPLICATES_AT_CREATION);
        }
        if (mapFeatures.contains(MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION)) {
          derivedFeatures.add(CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION);
        }
        // add the intersection of CollectionFeature.values() and mapFeatures
        for (CollectionFeature feature : CollectionFeature.values()) {
          if (mapFeatures.contains(feature)) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                ListFeature.SUPPORTS_ADD_WITH_INDEX,
                ListFeature.SUPPORTS_REMOVE_WITH_INDEX,
                ListFeature.SUPPORTS_SET,
                CollectionFeature.SUPPORTS_ADD,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ANY)
            .suppressing(suppressForCopyOnWriteArrayList())
            .createTestSuite();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                ListFeature.SUPPORTS_ADD_WITH_INDEX,
                ListFeature.SUPPORTS_REMOVE_WITH_INDEX,
                ListFeature.SUPPORTS_SET,
                CollectionFeature.SUPPORTS_ADD,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ANY)
            .suppressing(suppressForCopyOnWriteArrayList())
            .createTestSuite();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import java.util.Collections;
    import org.junit.Ignore;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableMapEntryListGenerator())
                .named("ImmutableMap.entrySet.asList")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.KNOWN_ORDER)
                .createTestSuite());
        suite.addTest(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top