dev_tools
Autumn move! Friends, you don t even know about generics now! No way, no way!
One, the basic concept of generics Definition of generic type: Generic type is a new feature of JDK 1.5, its essence is the application of parameterized type (Parameterized Type), that is to say, the data type that is operated is designated as a parameter, when it is used in Specify the specific type. This parameter type can be used in the creation of classes, interfaces, and methods. They are called generic classes, generic interfaces, and generic methods, respectively. The idea of generics be