Loading core/java/com/google/android/collect/Sets.java +44 −35 Original line number Diff line number Diff line Loading @@ -68,6 +68,15 @@ public class Sets { return set; } /** * Creates an empty {@code SortedSet} instance. * * @return a newly-created, initially-empty {@code SortedSet}. */ public static <E> SortedSet<E> newSortedSet() { return new TreeSet<E>(); } /** * Creates a {@code SortedSet} instance containing the given elements. * Loading Loading
core/java/com/google/android/collect/Sets.java +44 −35 Original line number Diff line number Diff line Loading @@ -68,6 +68,15 @@ public class Sets { return set; } /** * Creates an empty {@code SortedSet} instance. * * @return a newly-created, initially-empty {@code SortedSet}. */ public static <E> SortedSet<E> newSortedSet() { return new TreeSet<E>(); } /** * Creates a {@code SortedSet} instance containing the given elements. * Loading