While in a project that is a mix of Scala and Java, I need to convert a Java Set into a Java List while in the Scala portion of the code.
What are some efficient ways of doing this? I could potentially use JavaConverters to convert Java Set -> Scala Set -> Scala List -> Java List. Are there other options that would be more efficient?
Thanks