Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 66 for GENERAL_PURPOSE (0.07 seconds)

  1. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
                    CollectionSize.ANY)
                .createTestSuite());
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestStringMapGenerator() {
                      @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)
  2. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    CollectionSize.ANY)
                .createTestSuite());
    
    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)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    return new ArrayList<>(MinimalCollection.of(elements));
                  }
                })
            .named("ArrayList")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionSize.ANY)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    return new ArrayList<>(MinimalCollection.of(elements));
                  }
                })
            .named("ArrayList")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionSize.ANY)
    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)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
      SetFeature(Feature<? super Set>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

    @GwtCompatible
    public enum ListFeature implements Feature<List> {
      SUPPORTS_SET,
      SUPPORTS_ADD_WITH_INDEX(CollectionFeature.SUPPORTS_ADD),
      SUPPORTS_REMOVE_WITH_INDEX(CollectionFeature.SUPPORTS_REMOVE),
    
      GENERAL_PURPOSE(
          CollectionFeature.GENERAL_PURPOSE,
          SUPPORTS_SET,
          SUPPORTS_ADD_WITH_INDEX,
          SUPPORTS_REMOVE_WITH_INDEX),
    
      /** Features supported by lists where only removal is allowed. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          WrappedHashMapGenerator generator, String name, Feature<?>... features) {
        List<Feature<?>> featuresList = Lists.newArrayList(features);
        Collections.addAll(
            featuresList,
            MapFeature.GENERAL_PURPOSE,
            CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
            CollectionSize.ANY);
        return MapTestSuiteBuilder.using(generator)
            .named(name)
            .withFeatures(featuresList)
            .createTestSuite();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
    
      private final Set<Feature<? super Map>> implied;
    
      MapFeature(Feature<? super Map>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

                  CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION)
              .put(MapFeature.GENERAL_PURPOSE, ListFeature.SUPPORTS_ADD_WITH_INDEX)
              .put(MapFeature.GENERAL_PURPOSE, ListFeature.SUPPORTS_REMOVE_WITH_INDEX)
              .put(MapFeature.GENERAL_PURPOSE, ListFeature.SUPPORTS_SET)
              .put(MapFeature.ALLOWS_NULL_VALUE_QUERIES, CollectionFeature.ALLOWS_NULL_QUERIES)
    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)
  10. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

                    CollectionFeature.SERIALIZABLE,
                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE)
                .named("SafeTreeMap with natural comparator")
                .createTestSuite());
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top