Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testUnion (0.23 sec)

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

      Set<String> friends;
      Set<String> enemies;
    
      @Override
      public void setUp() {
        friends = newHashSet("Tom", "Joe", "Dave");
        enemies = newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).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

      Set<String> friends;
      Set<String> enemies;
    
      @Override
      public void setUp() {
        friends = newHashSet("Tom", "Joe", "Dave");
        enemies = newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).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-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

              .add(Range.openClosed(0, 3))
              .add(Range.closed(5, 8))
              .add(Range.closedOpen(12, 15))
              .add(Range.open(19, 20))
              .build();
    
      public void testUnion() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.openClosed(0, 4))
                .add(Range.closedOpen(5, 10))
                .add(Range.closedOpen(12, 15))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top