ternary
常见例句
- Note that the [[ key-mapping in the previous example uses an expression containing a C-like "ternary expression"
注意,上例中的 [[ 键映射使用了一个包含类似 C 的 “三元表达式” 的表达式 - Because if statements are expressions in Scala, there is no need for the special-case ternary conditional expressions that exist in C-derived languages.
因为在Scala 里if 语句是一个表达式,所以就不需要C 类型子语言的三重条件表达式了。 - One of these had a particular three-part or ternary pattern attributed to J. S. Bach’s son, Carl Philipp Emanuel Bach (1714–1788), which is now called sonata form.
其中的特定的三部或三元格式,是由巴赫的儿子卡尔.菲利普.伊曼纽尔.巴赫(1714-1788)创作出来的,这就是现在所谓的奏鸣曲式。 返回 ternary