Created
February 28, 2020 03:47
-
-
Save takayahilton/f172ef1c7ad4ad111567fcf304516d8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.jdk.CollectionConverters; | |
import java.util.List; | |
public class Hoge { | |
public void hoge() { | |
scala.collection.immutable.List<Integer> sList = scala.collection.immutable.List.empty(); | |
List<Integer> list = CollectionConverters.seqAsJavaListConverter(sList).asJava(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment