Android Utililty Methods Iterator to SortedSet Convert

List of utility methods to do Iterator to SortedSet Convert

Description

The list of methods to do Iterator to SortedSet Convert are organized into topic(s).

Method

SortedSetsortedSetFromIterator(Iterator i)
Constructs a SortedSet<T> with all the elements available from i
SortedSet<T> retval = new TreeSet<T>();
while (i.hasNext())
    retval.add(i.next());
return retval;