所以你并不需要使用赋值运算符。
可用的运算符列表随即显示出来。
最后一种方法是使用 ::运算符
那个等号其实是个“赋值运算符。”
使用to运算符的范围表达式。
新运算符——创建委托实现类的实例。
New operator — creates an instance of the delegate implementation class.
使用instance of运算符。
每个运算符都表示转换过程的一个步骤。
Each operator represents a step in the transformation process.
在2.0中为此提供了一个运算符is。
尤其是运算符重载,这种情况出现的时候。
开始时使用to运算符。
在这里使用掩码、右移和左移运算符很方便。
The use of masks, and the right and left shift operators, come in handy here.
其中一个技巧是子表达式开始处的?:运算符。
One such trick is the? : operator at the beginning of a subexpression.
它包含三个运算符。
所以到现在为止,赋值运算符复制了很多数据。
两个值中间没有运算符会怎么样?
What happens if you have two values with no operator between them?
使用切片运算符创建原始list的副本。
You create a copy of the original list using the slice operator.
使用Sort运算符以年度升序排列产出。
Use a Sort operator to order the output in ascending order of the year.
再提醒一次,你们用运算符的时候,要多加小心。
And again, you've got to be careful about how you use the operators.
不严格地说,一种数学或逻辑运算符。
为什么避免后缀运算符在c+ +中?
Groovy中的a s运算符完成的神奇的工作。
如何从复制赋值运算符调用复制构造函数?
How to call to the copy constructor from the copy-assignment operator?
第二个表达式是为分隔元素而添加的运算符。
The second expression is the separator that will be added to separate the elements.
所有的赋值运算符都返回赋给左操作数的值。
All assignment operators return the value that is assigned to the left operand.
切片运算符也可以用于选取某一区间的元素。
清单2中的重点是函数应用运算符U+2061。
Of particular importance in Listing 2 is the Function Application operator U+2061.
对于运算符,请选择isnot equal to。
要从当前上下文移动到上一级,只要使用..运算符。
To move up a level from the current context, just use the .. operator.
首先我们将构建该筛选器的右侧部分,从运算符is开始。
First we'll build the right part of the filter, starting from operator Is.
应用推荐