- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for newHashSet (0.69 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
immutableEntry("foo", (Collection<Integer>) newHashSet(2, 3, 6)), immutableEntry("bar", (Collection<Integer>) newHashSet(4, 5, 10, 11)), immutableEntry("baz", (Collection<Integer>) newHashSet(7, 8)), immutableEntry("dog", (Collection<Integer>) newHashSet(9)), immutableEntry("cat", (Collection<Integer>) newHashSet(12, 13, 14))));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 16.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
assertEquals("google", keySet.last()); assertEquals(StringLength.COMPARATOR, keySet.comparator()); assertEquals(Sets.<@Nullable String>newHashSet(null, "tree"), keySet.headSet("yahoo")); assertEquals(newHashSet("google"), keySet.tailSet("yahoo")); assertEquals(newHashSet("tree"), keySet.subSet("ask", "yahoo")); } @GwtIncompatible // SerializableTester public void testExplicitComparatorSerialization() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
immutableEntry("foo", (Collection<Integer>) newHashSet(2, 3, 6)), immutableEntry("bar", (Collection<Integer>) newHashSet(4, 5, 10, 11)), immutableEntry("baz", (Collection<Integer>) newHashSet(7, 8)), immutableEntry("dog", (Collection<Integer>) newHashSet(9)), immutableEntry("cat", (Collection<Integer>) newHashSet(12, 13, 14))));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testContains_nonNullSetYes() { Iterable<String> set = newHashSet("a", null, "b"); assertTrue(FluentIterable.from(set).contains("b")); } public void testContains_nonNullSetNo() { Iterable<String> set = newHashSet("a", "b"); assertFalse(FluentIterable.from(set).contains("c")); } public void testContains_nonNullIterableYes() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d")))); assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set)); assertFalse(set.equals(newHashSet(4, 5, 6))); assertFalse(newHashSet(4, 5, 6).equals(set)); } public void testEquals_bothExplicitOrdering() { SortedSet<String> set = of("in", "the", "a"); assertEquals(Sets.newTreeSet(asList("in", "the", "a")), set);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d")))); assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set)); assertFalse(set.equals(newHashSet(4, 5, 6))); assertFalse(newHashSet(4, 5, 6).equals(set)); } public void testEquals_bothExplicitOrdering() { SortedSet<String> set = of("in", "the", "a"); assertEquals(Sets.newTreeSet(asList("in", "the", "a")), set);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0)