Java generic type

后端 未结 4 1357
野的像风
野的像风 2020-12-09 12:07

When I have an interface

public interface Foo {
    T someMethod();
}

is there any way to assure that when some class implements t

4条回答
提交回复
热议问题