It also supports objects, like Array.
它也支持对象,比如array。
Rather than reference them as you do an object property, you access them like array values.
与引用对象属性不同的是,您可以将属性作为数组值访问。
And, like Array [t], List [t] inherits from a number of base classes and traits, starting with Seq [t] as an immediate base.
并且,和Array [t]相同,List [t]继承了很多基类和特性,首先使用Seq [t]作为直接上层基类。
For an example of the creative use of closures, check out Pawel Turlejski's utility class, which provides Groovy-like array methods (see Resources).
关于closures的创造性使用的例子是,检查Pawel Turlejski的实用类,它提供与Groovy类似的阵列方法(见参加资料)。
Indexer parameters are enclosed in square brackets, just like array indexes, but indexer parameters can be declared to be of any type, unlike array indexes, which must be integral.
索引器参数括在方括号中,这一点与数组索引类似;但可以将索引器参数声明为任何类型,这一点与数组索引不同,后者必须为整形。
This interpersonal coordination underlies a wide array of human activities, ranging from more complicated ones like ballroom dancing to simply walking or talking with friends.
这种人际协调构成了一系列广泛的人类活动的基础,包括交际舞等复杂的活动,以及简单的步行或与朋友交谈等。
The 7 DFR-like genes were found to be arranged in a tandem array.
这7个类似还原酶的基因为串联排列。
This does sound a lot like an array, and for most intents and purposes, it is.
听起来这非常像一个数组,对于大多数的意图和目的,它也确实是一个数组。
Just like a query to a database, you will have an array, ready to use as you see fit.
就像对数据库的查询一样,您将拥有一个准备好在需要时即可使用的阵列。
In DB2, variables of type array are like variables of any other SQL data types.
在DB 2中,类型阵列的变量类似于任何其他SQL数据类型的变量。
This allows the index register to be used exactly like an array index.
这样就可以将索引寄存器当作数组索引来使用。
The massive mirrors that collect and focus light are, like SALT's mirror, an array of smaller mirrors arranged on a perfectly formed curve.
凯克望远镜采集和集中光线的大型镜片和南非大望远镜类似,是由一组小镜片拼接成的曲面镜。
Relational databases aren't like programming languages. They don't have array types.
关系数据库不同于编程语言,它们不具有数组类型。
The first article showed you how jQuery works functionally, and how you can use it to search for page elements, loop through them, and access them like any Array object.
本系列的第一篇文章向您展示了jQuery是如何工作的,以及如何用它来搜索页面元素、循环遍历这些元素并像Array对象那样访问这些元素。
For example, when retrieved as a string, a byte array will look something like [B@4f25045a.
例如,当一个字节数组作为字符串被检索时,它将看起来有些像 [B@4f25045a。
SketchUp provides a specific Color object, but it's easier to substitute a simple RGB array like [64, 128, 255].
SketchUp提供了一个Color对象,但是更容易的方法是使用一个简单的RGB数组替代,例如 [64, 128, 255]。
Normally, the native toString() method prints a representation of the array just like the original representation of the object, without really showing the contents.
通常,原生toString()方法输出的数组表示就像对象的原始表示一样,并不真正显示内容。
It is. It's drawn like an array, it effectively is an array so bracket zero means go to the zero's location in that array, which happens to be F and do what with it?
它看起来像个数组,实际上也是一个数组,所以【0】就是定位到那个数组的0的存储单元,对于f发生了什么?用它做什么?
Decode_Date_EU converts dates in 'European' formats like 13 January 2006 to the 3-element array (YMD) that the package USES as a standard.
Decode_Date_EU将‘european’格式的日期(比如13January 2006)转换为三个元素的数组(YMD),这是这个包使用的标准日期格式。
The Iterator interface allows any class to look like an array to its clients.
Iterator接口使所有类都可以看似是其使用者的阵列。
In contrast, lists in Vimscript are mutable and in many ways far more like (references to) anonymous-array data structures.
相反,Vimscript中的列表的序列是可变的,并且在很多情况下类似于匿名数组数据结构。
The Adapter ACTS like a Courier between your data source (perhaps an array of external strings) and the AdapterView, which displays it.
而Adapter在你的数据源(可能是一个外部字符串数组)和显示这些数据的AdapterView之间扮演着一个信使的角色。
As in Blink, Gladwell marshals an impressive array of examples (like teen smoking or New York City crime rates) to prove his point.
正如在《闪灵》中一样,格拉德·威尔列举了一大堆让人印象深刻的例子来说明他的观点(如青少年吸烟问题,纽约城市的犯罪率等)。
Viral changes are those that start small — like changing an array that holds three elements to one that contains only two.
病毒性更改是开始时很小的更改 —如将保存三个元素的数组更改为一个只包含两个元素的数组。
Since the search results are being stored in an array, you'd expect functions to work through the array like you would any data object in any programming language.
因为搜索结果存储在一个数组中,您肯定希望函数遍历该数组,就像处理其他编程语言的数据对象一样。
The final filter array looks like Listing 2.
最终的过滤器数组如列表2中所示。
A dictionary is like an associative array or hash: It USES key-value pairs to store and retrieve information.
字典类似于关联数组或散列;它使用键值对来存储和限制信息。
Sometimes those moments are obvious things, like fireworks displays, or more mundane moments that made you smile, like a colorful array of candy.
有时候,这些时刻是很明显的事物,比如说是烟花表演;或是那些让你微笑的平凡瞬间,好比五颜六色的糖果。
Sometimes those moments are obvious things, like fireworks displays, or more mundane moments that made you smile, like a colorful array of candy.
有时候,这些时刻是很明显的事物,比如说是烟花表演;或是那些让你微笑的平凡瞬间,好比五颜六色的糖果。
应用推荐