collection 和collections的区别,list ,map的区别?

来源:百度知道 编辑:UC知道 时间:2024/06/02 16:54:40

collection
n. 收集, 采集, (一批)收藏品, 募捐
【医】 收集; 收集品, 标本
【经】 收款, 征收, 托收(代收)款项
Collections
【医】收集
list
[list]
n.
一览表, 目录, 名单, 清单
vt.
列出, 列入, 把…编列成表
Let's just list these factors.
让我们仅列举这些因素。
map
[mæp]
n.
地图
This is a map in the scale of one-millionth.
这是一张比例尺为1比100万的地图。
天体图
The map of the heavens showed all the northern constellations.
这份天体图标明了北半部所有的星座。
vt.
绘制(一地区等的)地图; 用地图表示
The scientists mapped the surface of the moon.
科学家绘制了月球表面的地图。

collection是java util中集合,列表的超级接口。
而Collections是一个类,它提供了一些服务方法,比如二分查找,排序等等。

list是一个列表,map保存的是键值对

rainbowolf8183 大哥回答的太好了!!!