花括号表示对象,方括号表示数组。
Curly braces indicate an object, and brackets indicate an array.
在容器名后面的方括号中放上键值。
You place the key value inside square brackets that follow the container name.
方括号将元素在逻辑上分组。
其他内容都是可选的(用方括号表示)。
Everything else is optional (as indicated by the square brackets).
方括号([和 ])中的是可选参数。
方括号表示数字索引数组。
方括号中的信息已经更改。
对象数组包含在方括号中。
谓词放在方括号 [和 ] 中。
第一个定义没有参数,因此方括号是空的。
The first definition has no arguments, hence the empty square brackets.
其中,方括号([])内的代码是可选的。
这个查询使用了方括号,那么它错在哪里呢?
最后一个数据类型是列表,列表用方括号表示。
The last data type is the list, which is denoted by square brackets.
在这两个查询中,方括号中表示了连接谓词。
In both queries, the join predicate is expressed within the square brackets.
清单12显示了只有一个条目时如何添加方括号。
Listing 12 shows how to add square brackets in the case of a single item list.
在bash中,所有布尔表达式都用方括号括起。
In bash, all Boolean expressions are enclosed in square brackets.
URL中的IPv6地址应该包括在方括号内。
The IPv6 address in the URL should be enclosed by square brackets.
通配符匹配操作符(方括号)匹配任何括起来的字符。
The glob (square brackets) matches any of the enclosed characters.
列表使用方括号,而不是圆括号(),如清单10所示。
Instead of parentheses (), you use square brackets, as shown in Listing 10.
确保每个服务的端口(如第三组[方括号]中所示)正确。
Ensure the port, as noted in the third set of [brackets], is correct for each service.
可以用适合于您皮肤的内容代替上述代码中方括号中的内容。
Replace everything in square brackets with something suitable for your skin.
回忆在第1章中Scala使用方括号来指明范型类型参数。
Recall from Chapter 1 that Scala USES square brackets ([...]) for generic type parameters.
如果知道如何使用方括号,这一点在XPath中很容易做到。
That turns out to be pretty easy in XPath, once you learn how to use brackets. Here's an example.
如果有更多的输入参数,它们将显示在这个方括号内,以空格分隔。
If there were more input parameters, they would appear inside the square brackets, separated by Spaces.
这些保护条件用方括号括起,放在消息名的左侧,如图3 所示。
These guard conditions are enclosed in square brackets to the left of the message name, as seen in Figure 3.
首先,Ruby没有方括号或分号,而且它使类型成为完全可选的。
First, Ruby has no brackets or semicolons, and it makes types completely optional.
所以,为了避免二义性,Scala使用了方括号来声明参数类型。
So, to avoid ambiguities, Scala USES square brackets instead for parameterized types.
最后一个结束方括号之后的星号(*)代表可以包含一个或多个包含项。
The asterisk (*) after the last closing square bracket indicates that more than one of the enclosing items can be included.
应用推荐