Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5eb3902 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change Ie70845ca into eclair-mr2

* changes:
  Add Sets#newSortedSet()
parents 247003be 049070d3
Loading
Loading
Loading
Loading
+44 −35
Original line number Diff line number Diff line
@@ -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.
     *