Last active
April 3, 2016 01:02
-
-
Save lazyval/559ca40f022d51a5eebe8bd42cc91fd0 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
class Bar<B> {} |
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
class Foo<A> {} |
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
public abstract class JavaApi { | |
public abstract Foo<Bar> rawMethod(); | |
} |
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
class ScalaApi extends JavaApi { | |
override def rawMethod: Foo[Bar[_]] = new Foo[Bar[_]]() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment