Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for symmetricDifference (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        ImmutableSet<String> immut = Sets.symmetricDifference(friends, enemies).immutableCopy();
        HashSet<String> mut =
            Sets.symmetricDifference(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Dave");
        assertEquals(3, symmetricDifferenceFriendsFirst.size());
        assertEquals(4, immut.size());
        assertEquals(4, mut.size());
    
        immut = Sets.symmetricDifference(enemies, friends).immutableCopy();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        ImmutableSet<String> immut = Sets.symmetricDifference(friends, enemies).immutableCopy();
        HashSet<String> mut =
            Sets.symmetricDifference(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Dave");
        assertEquals(3, symmetricDifferenceFriendsFirst.size());
        assertEquals(4, immut.size());
        assertEquals(4, mut.size());
    
        immut = Sets.symmetricDifference(enemies, friends).immutableCopy();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}.
       *
       * @since 3.0
       */
      public static <E extends @Nullable Object> SetView<E> symmetricDifference(
          final Set<? extends E> set1, final Set<? extends E> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    
        return new SetView<E>() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top