Java泛型參數繼承多個

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