I am dealing with anagrams so I'm concerned only with the characters present in the string but not their order. I searched for a suitable Collection class but in vain.
Can you please suggest any class that could help me to keep duplicates but ignores order?