Created
November 13, 2018 21:53
-
-
Save truedem/bc6d56d4031ef85cd8b79abfa530fcea to your computer and use it in GitHub Desktop.
in-out Kotlin = super-extends Java
This file contains hidden or 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
List<out T> is like List<? extends T> in Java | |
List<in T> is like List<? super T> in Java |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment