Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,001 for feature (0.25 sec)

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

      @CanIgnoreReturnValue
      public B withFeatures(Iterable<? extends Feature<?>> features) {
        for (Feature<?> feature : features) {
          this.features.add(feature);
        }
        return self();
      }
    
      public Set<Feature<?>> getFeatures() {
        return Collections.unmodifiableSet(features);
      }
    
      // Name
    
      private @Nullable String name;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        testers.add(MultisetIteratorTester.class);
        testers.add(MultisetSerializationTester.class);
        return testers;
      }
    
      private static Set<Feature<?>> computeEntrySetFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(CollectionFeature.GENERAL_PURPOSE);
        derivedFeatures.remove(CollectionFeature.SUPPORTS_ADD);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

    import com.google.common.collect.testing.TestListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.ListFeature;
    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

    @GwtCompatible
    public enum MultimapFeature implements Feature<Multimap> {
      VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE;
    
      private final Set<Feature<? super Multimap>> implied;
    
      MultimapFeature(Feature<? super Multimap>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Multimap>> getImpliedFeatures() {
        return implied;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        // Copy this set, so we can modify it.
        Set<Feature<?>> features = Helpers.copyToSet(getFeatures());
        @SuppressWarnings("rawtypes") // class literals
        List<Class<? extends AbstractTester>> testers = getTesters();
    
        logger.fine(" Testing: " + name);
    
        // Split out all the specified sizes.
        Set<Feature<?>> sizesToTest = Helpers.<Feature<?>>copyToSet(CollectionSize.values());
        sizesToTest.retainAll(features);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

    @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 = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Set>> getImpliedFeatures() {
        return implied;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

      private final Set<Feature<? super List>> implied;
    
      ListFeature(Feature<? super List>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super List>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       * 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 = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Map>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.SUBMAP);
        features.addAll(parentBuilder.getFeatures());
    
        return newBuilderUsing(delegate, to, from)
            .named(parentBuilder.getName() + " subMap " + from + "-" + to)
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top