I have a SortedSet defined this way:
SortedSet<RatedMessage> messageCollection = new TreeSet<RatedMessage>(new Comp());
and I have an array of RatedMessage[]
I had to use the array as the set misses the serialization feature, now I need to construct it back.
Is there a quick way to add all the items from the array to the set again?