ternary operator

基本解释三元运算子

网络释义

1)ternary operator,三元运算子2)ternary operator,三元算子3)ternary operator,三元运算符4)unary operator,一元运算子5)Dyadic Operator,二元运算子6)Ternary ring of operators,算子三元环

用法和例句

So be sure to ponder your reasons when choosing the ternary operator.

所以在挑选三元运算符时,请务必权衡一下利弊。

Of course, you could use an ordinary if-else statement (described later), but the ternary operator is much terser.

当然,也可以换用普通的if-else语句(在后面介绍),但三元运算符更加简洁。

3.1.9 Ternary if-else operator

3.1.9 三元if-else运算符

monadic operator

单一算符;单值运算符;一目算子;一元算符;一元运算符

The bitwise NOT (~, also called the ones complement operator) is a unary operator;

按位NOT(~,也叫作“非”运算符)属于一元运算符;

1.Unary minus and plus operators

1. 一元加、减运算符

The parameter of a unary operator must be the containing type

一元运算符的参数必须是包含类型

This operator is unusual because it has three operands.

这种运算符比较罕见,因为它有三个运算对象。

unary minus operator applied to unsigned type, result still unsigned

一元负运算符应用于无符号类型,结果仍为无符号类型

string operator

串操作符;串算符;串运算符;字符串运算符

3.1.3. Mathematical operators

3.1.3 算术运算符

Two variable operator-valued functions in Mikusinski operators

Mikusinski二元算符函数

The unary minus (-) and unary plus (+) are the same operators as binary minus and plus.

一元减号(-)和一元加号(+)与二元加号和减号都是相同的运算符。

One of the parameters of a binary operator must be the containing type

二元运算符的参数之一必须是包含类型

A unary operator such as Minus is left as an exercise.

像负号这样的一元运算符就留给读者练习。

mathematical symbol

数学符号,运算符号

3.1Using Java operators

3.1 使用Java运算符

3.1.7 Bitwise operators

3.1.7 按位运算符

最新行业英语

行业英语