char is a primitive, you can't store primitives in Collections.
Make it Set<Char> instead, and autoboxing will ensure your chars are converted into Chars and back again.
Reputation Points: 1658
Solved Threads: 331
duckman
Offline 7,719 posts
since Nov 2004