Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for GENERAL_PURPOSE (0.1 sec)

  1. 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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android/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. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. 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. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                        }
                        return (Map) map;
                      }
                    })
                .named("MutableClassToInstanceMap")
                .withFeatures(
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.RESTRICTS_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        if (derivedFeatures.contains(CollectionFeature.SUPPORTS_REMOVE)) {
          derivedFeatures.add(ListFeature.SUPPORTS_REMOVE_WITH_INDEX);
        }
        if (derivedFeatures.contains(CollectionFeature.GENERAL_PURPOSE)) {
          derivedFeatures.add(ListFeature.GENERAL_PURPOSE);
        }
        return derivedFeatures;
      }
    
      private static class MultimapGetGenerator<K, V>
          extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, ListMultimap<K, V>>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                        return map;
                      }
                    })
                .named("CompactHashMap")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top