The Clollections API 集合API

2021/12/19 6:19:39

本文主要是介绍The Clollections API 集合API,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

The ArrarList class is in the clollection API (applictation programming interface), whick is a library provided by Java.Most of the API in java.util . This library gives the programmer access to prepackaged data staructures and the methods to manipulate them . The implementations of these container classes are invisible and should not be of concren to the programmer . The code works . And it is reusable .

All of the collections classes ,including ArrayList , hava thefollowing features int commons:

  • They are designed to be both memory and run-time efficient.
  • They provide methods for insertion and removal of items (i.e., they can grow and shrink).
  • They provide for iteration over the entire collection



这篇关于The Clollections API 集合API的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程