Converting Sets



What is the cleanest way to do this conversion?

I have a Set<X>.
I want a Set<Y> where X implements Y.
--
Roedy Green Canadian Mind Products
http://mindprod.com
One of the most useful comments you can put in a program is
"If you change this, remember to change ?XXX? too".

.