Well, this works, although there may be a more elegant solution.
Array is not a Collection, so you cannot use TreeSet's "addAll" or constructor to include elements. Sorry... you'll have to loop...
Type: Posts; User: CT&SC
Well, this works, although there may be a more elegant solution.
Array is not a Collection, so you cannot use TreeSet's "addAll" or constructor to include elements. Sorry... you'll have to loop...