What is the translation of " OPTIONAL " in English? S

Examples of using Optional in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
这是Optional<T>的查询方法:.
Here are the Optional<T> query methods:.
我们接下来看一个类似的示例,但这里Optional不为空:.
Next, let's take a look at a similar example in which the Optional is not empty:.
Optional主要用作返回类型。
The intended use of Optional is mainly as a return type.
为了查看实际效果,我们添加一个方法,可向User类返回Optional:.
To see this in action, let's add a method that returns an Optional to the User class:.
Optional的预期用途主要是作为返回类型。
The intended use of Optional is mainly as a return type.
特朗普还可能改变在美实习计划(OptionalPracticalTraining,OPT)。
Another program that may be changed by Trump is the Optional Practical Training(OPT) program.
Optional的主要用途是作为一种返回类型。
The intended use of Optional is mainly as a return type.
对的!Iftheyarelistedasoptional,我没有把它们包括在营养事实中,点,或服务大小。
If they are listed as optional, I do not include them in the nutrition facts, points, or serving size.
Optional这个概念在C语言或Objective-C里面并不存在。
The concept of optionals doesn't exist in C or Objective-C.
FindFirst()方法返回Optional对象,因为集合中有可能不存在满足条件的元素。
The findFirst() method returns an Optional, since there might not be any elements matching the desired criteria.
Optional的功能是表达这个值可能是空的,并让你应对这种情况。
The strength of Optional is to express that this value might be empty, and allow you to cater for that case.
除了对值进行转换的功能,Optional类还提供了根据条件对值进行“过滤”的功能。
Alongside transforming the values, the Optional class also offers the possibility to“filter” them based on a condition.
如果Optional对象的值存在,并且它符合谓词的条件,filter方法就返回其值;.
If a value is present in the Optional object and it matches the predicate, the filter method returns that value;
相比之下,flatMap()也是将Function参数作为Optional值,但它后面是直接返回结果。
By comparison, flatMap()also takes a Function argument that is applied to an Optional value, and then returns the result directly.
Optional<T>对象是一种包装器对象,要么包装了类型T的对象,要么没有包装任何对象。
An Optional<T> object is a wrapper for either an object of type T or for no object.
湖心岛上面也有很多个沙滩,其中比较特别的就是天体沙滩(ClothingOptionalBeach),在汉兰角Halan‘sPoint那边。
Along with the public family beaches,there is also a clothing optional beach on the west side of Toronto at Hanlan's Point.
DoublyEmpty当Optional和Array产生交汇时,你会有两种方式去描述空值:nil或者是空数组.
When optionals and arrays interplay, however, you have two ways of expressing emptiness: nil and the empty array.
如果你需要序列化的对象包含Optional值,Jackson库支持把Optional当作普通对象。
If you do need to serialize an object that contains an Optional value, the Jackson library provides support for treating Optionals as ordinary objects.
Optional类的一个非常有用的用例是将其与流或返回Optional值以构建流畅的API的其他方法结合。
One very useful use-case of the Optional class is combining it with streams or other methods that return an Optional value to build fluent APIs.
它还支持JDBC2.0OptionalPackage的一个子集,该子集提供了以下一些功能(详细信息参见文档):.
It will also support a subset of the JDBC 2.0 Optional Package, which provides the following functionality(see the documentation for details):.
Optional类对我们最有帮助的一个用例,是其同stream或者其他方法的组合使用,这些方法会返回一个可构建流畅API的Optional值。
One very useful use-case of the Optional class is combining it with streams or other methods that return an Optional value to build fluent APIs.
我们介绍了Java8的特性,Java9为Optional类添加了三个方法:or()、ifPresentOrElse()和stream()。
Next to the features introduced in Java 8,Java 9 adds three more methods to the Optional class: or(), ifPresentOrElse() and stream().
将其optional属性设置为false可防止尝试持久保存该批注所修饰属性为空值的实体。
Setting its optional attribute to false prevents us from attempting to persist an entity with a null value for the attribute that this annotation decorates.
如果您需要序列化一个包含Optional值的对象,Jacksonlibrary(WEBOptionals当作普通对象来对待。
If you do need to serialize an object that contains an Optional value, the Jackson library provides support for treating Optionals as ordinary objects.
MoulinSurMerBeachResort-OptionalAllInclusive度假村提供享有一流的花园景的舒适客房以及带淋浴和卫生间的私人浴室。
Moulin Sur Mer Beach Resort- Optional All Inclusive offers comfortable rooms with superb garden views, as well as a private bathroom with shower and toilet.
在荷兰,选择性火葬协会(AssociationforOptionalCremation)1874年的成立带来一个火葬优点和缺点的长期争论。
In the Netherlands, the foundation of the Association for Optional Cremation 26 in 1874 ushered in a long debate about the merits and demerits of cremation.
基金捐款应一律写明"Payee:SpecialFundestablishedbytheOptionalProtocoltotheConventionagainstTorture,accountCH"。
Contributions to the Fund should always be marked" payee:Special Fund established by the Optional Protocol to the Convention against Torture, account CH".
除Buddy外,像Vitrue、Wildfire、Involver和ContextOptional以及众多独立的小公司,均已开始打造它们自己的社交管理平台。
Along with Buddy, companies like Vitrue, Wildfire, Involver,and Context Optional along with many smaller, still independent players built out their social management platforms.
Results: 28, Time: 0.0181

Optional in different Languages

Top dictionary queries

Chinese - English