Learn to program the Java tutorial on programming it Tutorial collection framework released, welcome to visit via Xuebiancheng8.com
The collection framework in Java Name Incredibles is the framework for the collection. So what is a collection, which has already been learned in several groups, yes, an array is a set of data, in other words the array is also a special set of framework, you can complete the function of the collection. The array in use when there is no inconvenient place, for example, the array may have full time, full of what to do, we have to write our own program to change the size of the array, but also to assign the original array to the original position of the new array, so it is obvious that the array is not particularly convenient to use, A lot of functions let ourselves to achieve, for example, the array of additions and deletions to the operation, so we put most of the experience in the implementation of the array of additions and deletions, not to mention the real data processing. So this time, if there is a thing to the array of additions and deletions to help us all realize, we only need to use Add,remove,update,delete and other methods to complete the operation of the array, and not worry about the full, automatic expansion of that much better, that JDK has this kind of thing, is the collection framework, Java JDK provides an existing API interface to implement common data structure operations, so that we use directly, do not need to write their own data structure implementation, can improve the development speed. Focus on the business system, reduce the development difficulty.
The collection framework in Java can be roughly divided into five parts
The first part iterator part, the second part collection part, the third part is the map part, the fourth part util the tool class, the five part is the sorting tool class. We will analyze the functions of these parts separately in the following sections.
Learn to program, and more Java tutorials are available through http://xuebiancheng8.com/course/goodgoodstudy_1_daydayup.html.
The collection framework for Learning Java Tutorials