Converts given Scala scala.collection.Set to Java JSet. Elements inside set are converted using given implicit converter, which allows to convert nested Scala collections and primitives. If given set is mutable, then returned Java set is mutable as well.
Converts given Scala scala.collection.Set to Java JSet. Elements inside set are converted using given implicit converter, which allows to convert nested Scala collections and primitives. If given set is mutable, then returned Java set is mutable as well.
Type parameters
B
New type of resulting JSet elements
Value parameters
converter
Implicit converter to convert from A to B
Attributes
Returns
Java set wrapper around given set if given set elements are primitives or anything but supported Scala collections. Wrapper around new set otherwise Example: