Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addImpliedFeatures (0.1 sec)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       *
       * @param features the set of features to expand
       * @return the same set of features, expanded with all implied features
       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       *
       * @param features the set of features to expand
       * @return the same set of features, expanded with all implied features
       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top