What does “Recursive type bound” in Generics mean?

后端 未结 3 1402
悲&欢浪女
悲&欢浪女 2020-12-15 05:58

I am reading the chapter on Generics from Effective Java[Item 27].

There is this paragraph in the book:

It is permissible, though relative

3条回答
  •  春和景丽
    2020-12-15 06:09

    There is an entry in the Java Generics FAQ written by Angelika Langer which explains the details of such declaration: http://www.angelikalanger.com/GenericsFAQ/FAQSections/TypeParameters.html#FAQ106

提交回复
热议问题