Tips about Object-oriented programming

1, Return subinterface

For example, we have a parent interface:

public interface A<T extends A<T>> {

T method1(int value);

}

Then we have subinterface:

public interface B

原文地址:https://www.cnblogs.com/chayu3/p/3253887.html