Home | History | Annotate | Download | only in collect

Lines Matching defs:sortedSet

43 import java.util.SortedSet;
355 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
356 assertEquals("a", FluentIterable.from(sortedSet).first().get());
360 SortedSet<String> sortedSet = ImmutableSortedSet.of();
361 assertEquals(Optional.absent(), FluentIterable.from(sortedSet).first());
394 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
395 assertEquals("c", FluentIterable.from(sortedSet).last().get());
399 SortedSet<String> sortedSet = ImmutableSortedSet.of();
400 assertEquals(Optional.absent(), FluentIterable.from(sortedSet).last());