Generic field in an interface

前端 未结 0 1296
星月不相逢
星月不相逢 2020-11-21 18:50

I\'d like to have a generic public field inside an interface, like this:

interface Interface {
    T field;
}

However, the following

相关标签:
回答
  • 消灭零回复
提交回复
热议问题