Created
November 3, 2016 15:25
-
-
Save jeffscottbrown/f53f05320187c4190ecd97aaa05a66fb to your computer and use it in GitHub Desktop.
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
| trait Foo<T> { | |
| T getSomething() { | |
| // how to return an instance of whatever T represents?... | |
| } | |
| } | |
| class FooSomething implements Foo<Person> { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment