Java泛型参数继承多个

<T extends Test & A> void asd(T t) { t.a(); } interface A { void a(); } interface B { void b(); }
相关文章
相关标签/搜索