Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for getImpliedFeatures (0.3 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      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
      @TesterAnnotation
      public @interface Require {
        public abstract MapFeature[] value() default {};
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      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
      @TesterAnnotation
      public @interface Require {
        public abstract MapFeature[] value() default {};
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
            if (features.add(implied)) {
              queue.add(implied);
            }
          }
        }
        return features;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
            if (features.add(implied)) {
              queue.add(implied);
            }
          }
        }
        return features;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

        // gives a predictable order of test suites.
        this.implied = Helpers.copyToSet(implied);
        this.numElements = null;
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
      }
    
      public int getNumElements() {
        if (numElements == null) {
          throw new IllegalStateException(
              "A compound CollectionSize doesn't specify a number of elements.");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

        // gives a predictable order of test suites.
        this.implied = Helpers.copyToSet(implied);
        this.numElements = null;
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
      }
    
      public int getNumElements() {
        if (numElements == null) {
          throw new IllegalStateException(
              "A compound CollectionSize doesn't specify a number of elements.");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        CollectionFeature[] value() default {};
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
        public Set<Feature<? super @Nullable Void>> getImpliedFeatures() {
          return Collections.emptySet();
        }
      }
    
      /**
       * Creates a suite whose map has some elements filtered out of view.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        CollectionFeature[] value() default {};
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        testers.add(BiMapClearTester.class);
        return testers;
      }
    
      enum NoRecurse implements Feature<Void> {
        INVERSE;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return Collections.emptySet();
        }
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top