I have an immutable set (cast as a Set) that potentially contains many elements. I need a Collection that contains the elements from that set plu
Set
You have three options.
Sometimes a BitSet is a better choice than Set depending on the distribution of your values.
BitSet