ternary operator

精品项目网 2024-05-21 22:24:00

基本释义:

三元运算子

网络释义

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 按位运算符

下一篇:没有了
上一篇:Cerf,Vincent
精彩图文
相关推荐
  1. milk processing room

    精品项目网为您提供奶加工室milk processing room是什么意思,milk processing room翻译,milk processing room例句,milk processing room用法等有关,milk processing room单词知识大全供您查询使用!...

    0 条评论 59 2024-05-19 06:30

  2. roll

    精品项目网为您提供轧辊,压延roll是什么意思,roll翻译,roll例句,roll用法等有关,roll单词知识大全供您查询使用!...

    0 条评论 59 2024-05-21 13:31

返回顶部小火箭