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
Using Java 8 you can also use streams for that effect
Stream.concat(oldSet.stream(), Stream.of(singleElement)) .collect(toSet())