Skip to content

Instantly share code, notes, and snippets.

@cattaka
Created May 15, 2016 14:13
Show Gist options
  • Select an option

  • Save cattaka/be6dc4fde76a379b0cdcb266c197d1cf to your computer and use it in GitHub Desktop.

Select an option

Save cattaka/be6dc4fde76a379b0cdcb266c197d1cf to your computer and use it in GitHub Desktop.
public class CanNotCompileThisGenerics {
static class AbsScrambleAdapter<A extends AbsScrambleAdapter<A, T>, T> {
}
static class IViewHolderFactory<A extends AbsScrambleAdapter<A, ?>> {
}
static class ScrambleAdapter<T> extends AbsScrambleAdapter<ScrambleAdapter<T>, T> {
}
static class AbsViewHolderFactory extends IViewHolderFactory<ScrambleAdapter<?>> {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment