Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 661 for setI (0.05 sec)

  1. 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)
  2. 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)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        Set<String> set1 = newHashSet(elements);
                        set1.add(samples().e3());
                        Set<String> set2 = newHashSet(elements);
                        set2.add(samples().e4());
                        return Sets.intersection(set1, set2);
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                  }
                });
      }
    
      public void testEquals() {
        Multiset<String> set1 = ImmutableMultiset.of("one");
        Multiset<String> set2 = ImmutableMultiset.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> Multiset<T> wrap(final Multiset<T> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                  }
                });
      }
    
      public void testEquals() {
        Multiset<String> set1 = ImmutableMultiset.of("one");
        Multiset<String> set2 = ImmutableMultiset.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> Multiset<T> wrap(final Multiset<T> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      protected Set<String> create(String[] elements) {
                        Set<String> set = newHashSet(elements);
                        Set<String> other = newHashSet("wz", "xq");
                        set.addAll(other);
                        other.add("pq");
                        return Sets.difference(set, other);
                      }
                    })
                .named("set - set")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top