map运算会对每个元素应用一个函数来将一个集合转换成一个新的集合,如图6所示。
The map operation transforms a collection into a new collection by applying a function to each of the elements, as illustrated in Figure 6.
此接口使用扫描成员的技术来将组件的集合转换为支持运行时序列化的单个对象。
This interface USES the technique of scanning members to convert a collection of components into a single object that supports run-time serialization.
这些东西事后很难回想起来,因此要将这些无趣的数据集合转换为多姿多彩的记忆对象,我们必须得借助积极的想象力。
These we tend to be poor at recalling. The trick, therefore, is to transform these grey bits of data into something colourful through the use of some energetic imagination.
And that does two things: bug one, it helps catch bugs in your code, and secondly it often converts it into a more efficient sequence of instructions before you actually go off and run it. All right?
这有两点好处:,第一是可以帮助你发现程序中的,第二是把你的代码,在运行之前,转换为更有效率的指令的集合,对不对?
应用推荐