- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,337 for set2 (0.04 sec)
-
android/guava/src/com/google/common/collect/Sets.java
* {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}. */ public static <E extends @Nullable Object> SetView<E> union( final Set<? extends E> set1, final Set<? extends E> set2) { checkNotNull(set1, "set1"); checkNotNull(set2, "set2"); return new SetView<E>() { @Override public int size() { int size = set1.size();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java
.testForwarding( Set.class, new Function<Set, Set>() { @Override public Set apply(Set delegate) { return wrap(delegate); } }); } public void testEquals() { Set<String> set1 = ImmutableSet.of("one"); Set<String> set2 = ImmutableSet.of("two"); new EqualsTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} }); } public void testEquals() { SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one"); SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "b", "f")))); assertFalse(set.containsAll(Sets.newTreeSet(asList("d")))); assertFalse(set.containsAll(Sets.newTreeSet(asList("z")))); assertFalse(set.containsAll(Sets.newTreeSet(asList("b", "d")))); assertFalse(set.containsAll(Sets.newTreeSet(asList("f", "d", "a")))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} /** * Construct a new {@link java.util.Set} that is the intersection of the given sets. * * @deprecated Use {@link com.google.common.collect.Sets#intersection(Set, Set)} instead. */ @Deprecated public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) { Set<T> result = copyToSet(set1); result.retainAll(set2); return result; } private FeatureUtil() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetTest.java
.testForwarding( Set.class, new Function<Set, Set>() { @Override public Set apply(Set delegate) { return wrap(delegate); } }); } public void testEquals() { Set<String> set1 = ImmutableSet.of("one"); Set<String> set2 = ImmutableSet.of("two"); new EqualsTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
} }); } public void testEquals() { SortedSet<String> set1 = ImmutableSortedSet.of("one"); SortedSet<String> set2 = ImmutableSortedSet.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); } private static <T> SortedSet<T> wrap(final SortedSet<T> delegate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
} }); } public void testEquals() { SortedSet<String> set1 = ImmutableSortedSet.of("one"); SortedSet<String> set2 = ImmutableSortedSet.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); } private static <T> SortedSet<T> wrap(final SortedSet<T> delegate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
} }); } public void testEquals() { NavigableSet<String> set1 = ImmutableSortedSet.of("one"); NavigableSet<String> set2 = ImmutableSortedSet.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); } private static <T> NavigableSet<T> wrap(final NavigableSet<T> delegate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} }); } public void testEquals() { SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one"); SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0)