Java generics of generics of

后端 未结 4 1931
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 10:04

I have a generic class which represents a fragment of text. That fragment of text may have any of a number of different modes (different types of highlighting). Those mode

4条回答
  •  轮回少年
    2020-12-15 10:19

    Without testing, I'd guess:

    public class TextFragment> {
    

    Hmm, short test shows it doesn't seem to work either...

提交回复
热议问题