ImmutableSortedSetTest.java | 34 import java.util.Set; 114 SortedSet<String> set = of(); local 115 assertSame(Ordering.natural(), set.comparator()); 119 SortedSet<String> set = of(); local 120 assertSame(set, set.headSet("c")); 124 SortedSet<String> set = of(); local 125 assertSame(set, set.tailSet("f")); 129 SortedSet<String> set = of() local 134 SortedSet<String> set = of(); local 143 SortedSet<String> set = of(); local 153 SortedSet<String> set = of(); local 159 SortedSet<String> set = of("e"); local 164 SortedSet<String> set = of("e"); local 172 SortedSet<String> set = of("e"); local 180 SortedSet<String> set = of("e"); local 190 SortedSet<String> set = of("e"); local 195 SortedSet<String> set = of("e"); local 201 SortedSet<String> set = of("e"); local 207 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local 239 ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b); local 256 SortedSet<String> set = of("e", "a", "e", "f", "b", "b", "d", "a", "c"); local 261 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local 266 SortedSet<String> set = of("e", "f", "b", "d", "c"); local 275 SortedSet<String> set = of("e", "f", "b", "d", "c"); local 283 SortedSet<String> set = of("e", "f", "b", "d", "c"); local 299 SortedSet<String> set = of("e", "f", "b", "d", "c"); local 304 SortedSet<String> set = of("e", "f", "b", "d", "c"); local 309 SortedSet<String> set = of("e", "f", "b", "d", "c"); local 315 SortedSet<String> set = of("e", "f", "b", "d", "c"); local 324 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 330 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 337 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 347 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 353 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 359 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 371 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 382 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 400 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 406 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 413 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).build(); local 422 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 430 SortedSet<String> set = local 436 SortedSet<String> set = local 442 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local 449 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local 456 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local 463 SortedSet<String> set = copyOf(asList("e", "a", "f", "b", "d", "c")); local 468 SortedSet<String> set = copyOf(asIterator("e", "a", "f", "b", "d", "c")); local 473 SortedSet<String> set = local 479 SortedSet<String> set = copyOf(asIterator("e", "a", "f", "b", "d", "c")); local 484 SortedSet<String> set = local 490 SortedSet<String> set = copyOf(Sets.<String>newTreeSet()); local 495 SortedSet<String> set = local 502 SortedSet<String> set = local 510 SortedSet<String> set = local 517 SortedSet<String> set = local 524 SortedSet<String> set = local 532 SortedSet<String> set = local 541 SortedSet<String> set = copyOf(input); local 548 SortedSet<String> set = ImmutableSortedSet.copyOfSorted(input); local 555 SortedSet<String> set = ImmutableSortedSet.copyOfSorted(input); local 562 SortedSet<String> set = ImmutableSortedSet.copyOfSorted(input); local 568 SortedSet<String> set = of("a", "b", "c"); local 578 SortedSet<String> set = of("in", "the", "a"); local 591 SortedSet<String> set = of("a", "b", "c"); local 597 SortedSet<String> set = of("in", "the", "a"); local 603 SortedSet<String> set = of("a", "b", "f"); local 616 SortedSet<String> set = of("a", "b", "f"); local 628 SortedSet<String> set = of("a", "b", "f"); local 636 SortedSet<String> set = new ImmutableSortedSet.Builder<String>(comparator) local 651 SortedSet<String> set = new ImmutableSortedSet.Builder<String>(comparator) local 659 SortedSet<String> set = ImmutableSortedSet.<String>reverseOrder() local 674 SortedSet<Integer> set = new ImmutableSortedSet.Builder<Integer>(TO_STRING) local 680 SortedSet<Number> set = new ImmutableSortedSet.Builder<Number>(TO_STRING) local 706 ImmutableSortedSet<LegacyComparable> set local 712 ImmutableSortedSet<LegacyComparable> set = ImmutableSortedSet.copyOf( local 727 ImmutableSortedSet<LegacyComparable> set = builder.build(); local 741 ImmutableSortedSet<LegacyComparable> set = builder.build(); local 755 ImmutableSet<String> set = ImmutableSortedSet.of("a", "e", "i", "o", "u"); local 763 ImmutableSet<String> set = ImmutableSortedSet.of("a", "e", "i", "o", "u"); local 771 ImmutableSet<String> set local 780 ImmutableSet<String> set local 789 ImmutableSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local 820 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local 830 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local 839 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local 849 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local 859 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local 871 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local 883 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local 895 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local [all...] |