- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for addImpliedFeatures (0.08 sec)
-
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) -
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) -
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) -
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) -
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) -
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)