Home | History | Annotate | Download | only in collect

Lines Matching refs:Sets

586         copyOf(Sets.newTreeSet(asList("e", "a", "f", "b", "d", "c")));
591 SortedSet<String> set = copyOf(Sets.<String>newTreeSet());
640 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH);
647 SortedSet<String> input = Sets.newTreeSet(
655 Sets.newTreeSet(asList("in", "the", "quick", "jumped", "over", "a"));
661 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH);
670 assertEquals(set, Sets.newTreeSet(asList("a", "b", "c")));
671 assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set);
672 assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d"))));
673 assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set));
674 assertFalse(set.equals(Sets.newHashSet(4, 5, 6)));
675 assertFalse(Sets.newHashSet(4, 5, 6).equals(set));
680 assertEquals(Sets.newTreeSet(asList("in", "the", "a")), set);
681 assertFalse(set.equals(Sets.newTreeSet(asList("in", "the", "house"))));
682 assertFalse(Sets.newTreeSet(asList("in", "the", "house")).equals(set));
683 assertFalse(set.equals(Sets.newHashSet(4, 5, 6)));
684 assertFalse(Sets.newHashSet(4, 5, 6).equals(set));
686 Set<String> complex = Sets.newTreeSet(STRING_LENGTH);
693 assertFalse(set.equals(Sets.newTreeSet(asList(4, 5, 6))));
694 assertNotEqualLenient(Sets.newTreeSet(asList(4, 5, 6)), set);
699 assertFalse(set.equals(Sets.newTreeSet(asList(4, 5, 6))));
700 assertNotEqualLenient(Sets.newTreeSet(asList(4, 5, 6)), set);
718 assertTrue(set.containsAll(Sets.newTreeSet()));
719 assertTrue(set.containsAll(Sets.newTreeSet(asList("b"))));
720 assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "f"))));
721 assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "b", "f"))));
722 assertFalse(set.containsAll(Sets.newTreeSet(asList("d"))));
723 assertFalse(set.containsAll(Sets.newTreeSet(asList("z"))));
724 assertFalse(set.containsAll(Sets.newTreeSet(asList("b", "d"))));
725 assertFalse(set.containsAll(Sets.newTreeSet(asList("f", "d", "a"))));
730 SortedSet<Integer> unexpected = Sets.newTreeSet(Ordering.natural());
739 assertTrue(set.containsAll(Sets.newTreeSet()));
740 assertTrue(set.containsAll(Sets.newTreeSet(asList("b"))));
741 assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "f"))));
742 assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "b", "f"))));
743 assertFalse(set.containsAll(Sets.newTreeSet(asList("d"))));
744 assertFalse(set.containsAll(Sets.newTreeSet(asList("z"))));
745 assertFalse(set.containsAll(Sets.newTreeSet(asList("b", "d"))));
746 assertFalse(set.containsAll(Sets.newTreeSet(asList("f", "d", "a"))));