Why does generic method accept method reference with interface which doesn't satisfy generic's requirements

前端 未结 0 1546
星月不相逢
星月不相逢 2020-12-21 22:59

Why is there no compile error, that addListener method was called with argument, which is a method reference with an interface NotAnEvent, which ha

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