Skip to content

Instantly share code, notes, and snippets.

@jeffscottbrown
Created November 3, 2016 15:25
Show Gist options
  • Select an option

  • Save jeffscottbrown/f53f05320187c4190ecd97aaa05a66fb to your computer and use it in GitHub Desktop.

Select an option

Save jeffscottbrown/f53f05320187c4190ecd97aaa05a66fb to your computer and use it in GitHub Desktop.
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