- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for newHashSet (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/SetViewTest.java
intersection(newHashSet(1, 2), newHashSet(1, 2, 3)), difference(newHashSet(1, 2, 3), newHashSet(3)), symmetricDifference(newHashSet(1, 3), newHashSet(2, 3))) .addEqualityGroup( newHashSet(3, 2), union(singleton(3), singleton(2)), intersection(newHashSet(3, 2), newHashSet(3, 2, 1)), difference(newHashSet(3, 2, 1), newHashSet(1)),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
* limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.Sets.newTreeSet; import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST; import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST_2;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
Set<String> set = of("a", "b"); assertEquals(newHashSet("a", "b"), set); } public void testCreation_threeElements() { Set<String> set = of("a", "b", "c"); assertEquals(newHashSet("a", "b", "c"), set); } public void testCreation_fourElements() { Set<String> set = of("a", "b", "c", "d"); assertEquals(newHashSet("a", "b", "c", "d"), set); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
} public void testNewHashSetEmpty() { @SuppressWarnings("UseCollectionConstructor") // test of factory method HashSet<Integer> set = newHashSet(); verifySetContents(set, EMPTY_COLLECTION); } public void testNewHashSetVarArgs() { HashSet<Integer> set = newHashSet(0, 1, 1); verifySetContents(set, asList(0, 1)); } public void testNewHashSetFromCollection() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
* limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.Sets.newTreeSet; import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST; import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST_2;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} }; } public void test_contains_null_set_yes() { Iterable<@Nullable String> set = newHashSet("a", null, "b"); assertTrue(Iterables.contains(set, null)); } public void test_contains_null_set_no() { Iterable<String> set = newHashSet("a", "b"); assertFalse(Iterables.contains(set, null)); } public void test_contains_null_iterable_yes() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} }; } public void test_contains_null_set_yes() { Iterable<@Nullable String> set = newHashSet("a", null, "b"); assertTrue(Iterables.contains(set, null)); } public void test_contains_null_set_no() { Iterable<String> set = newHashSet("a", "b"); assertFalse(Iterables.contains(set, null)); } public void test_contains_null_iterable_yes() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
import static org.codelibs.core.collection.CollectionsUtil.newArrayList; import static org.codelibs.core.collection.CollectionsUtil.newHashMap; import static org.codelibs.core.collection.CollectionsUtil.newHashSet; import static org.codelibs.core.lang.GenericsUtil.getActualClass; import static org.codelibs.core.lang.GenericsUtil.getGenericParameters; import static org.codelibs.core.lang.GenericsUtil.getTypeVariableMap;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0)