- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for Difference (0.22 sec)
-
guava-tests/test/com/google/common/collect/SetOperationsTest.java
Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom"); Set<String> goodFriends = Sets.difference(friends, enemies); assertEquals(2, goodFriends.size()); ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); enemies.add("Dave"); assertEquals(1, goodFriends.size());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 14.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
MapDifference<Integer, String> original = Maps.difference(left, right); MapDifference<Integer, String> same = Maps.difference(left, right); MapDifference<Integer, String> reverse = Maps.difference(right, left); MapDifference<Integer, String> diff2 = Maps.difference(left, right2); new EqualsTester() .addEqualityGroup(original, same)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
MapDifference<Integer, String> original = Maps.difference(left, right); MapDifference<Integer, String> same = Maps.difference(left, right); MapDifference<Integer, String> reverse = Maps.difference(right, left); MapDifference<Integer, String> diff2 = Maps.difference(left, right2); new EqualsTester() .addEqualityGroup(original, same)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapDifference.java
/** * An object representing the differences between two maps. * * @author Kevin Bourrillion * @since 2.0 */ @DoNotMock("Use Maps.difference") @GwtCompatible @ElementTypesAreNonnullByDefault public interface MapDifference<K extends @Nullable Object, V extends @Nullable Object> { /** * Returns {@code true} if there are no differences between the two maps; that is, if the maps are * equal. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 04 13:28:27 GMT 2021 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultisetsTest.java
assertThat(Multisets.difference(ms1, ms2)).containsExactly("a", "b"); } public void testDifferenceWithRemovedElement() { Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); Multiset<String> ms2 = HashMultiset.create(Arrays.asList("b")); assertThat(Multisets.difference(ms1, ms2)).containsExactly("a", "a"); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom"); Set<String> goodFriends = Sets.difference(friends, enemies); assertEquals(2, goodFriends.size()); ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); enemies.add("Dave"); assertEquals(1, goodFriends.size());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* propagated. If, on the other hand, the time limit is reached, we attempt to abort the call to * the target, and throw a {@link TimeoutException} to the caller. * * <p>The difference with {@link #callWithTimeout(Callable, long, TimeUnit)} is that this method * will ignore interrupts on the current thread. * * @param callable the Callable to execute
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Lists.transform; import static com.google.common.collect.Sets.difference; import static com.google.common.collect.Sets.newHashSet; import static java.lang.reflect.Modifier.isPublic; import static java.lang.reflect.Modifier.isStatic; import static org.junit.Assert.assertThrows;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 16:03:42 GMT 2023 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Lists.transform; import static com.google.common.collect.Sets.difference; import static com.google.common.collect.Sets.newHashSet; import static java.lang.reflect.Modifier.isPublic; import static java.lang.reflect.Modifier.isStatic; import static org.junit.Assert.assertThrows;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 16:03:42 GMT 2023 - 9.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedSetTest.java
* * @author Mike Bostock */ public class SynchronizedSetTest extends TestCase { public static final Object MUTEX = new Integer(1); // something Serializable // TODO(cpovirk): Resolve difference between branches in their choice of mutex: // - The mainline uses `null` (even since the change in cl/99720576 was integrated). // - The backport continued to use MUTEX. public static Test suite() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 4.7K bytes - Viewed (0)