如上述bar() 这样,所有的路径都返回相同的具名数值(Named Value),因此编译器可以做自己的优化。以__result取代 Named Return Valued。
基于4个网页-相关网页
Change the data type of the new feature named value to Integer.
把value特性的数据类型改为Integer。
Take note, though — the shorthand version is available only if the annotation type has a single-member variable named value.
不过要注意,只有当注释类型只有一个成员变量,而且变量名为value时,才能使用简写形式。
Listing 3 defines a string named value that the annotation type can accept. You then use the annotation type as in Listing 4.
清单3定义了一个名为value的字符串,该注释类型能够接受它。
Over the years, an agricultural adviser named Tony Rinaudo has helped people in the Sahel learn about the value and care of trees.
VOA: special.2011.05.10
There's this notion of a Boolean value named after Mr. Bool, which is just a notion of true or false.
布尔值的概念是在布尔先生之后命名的,它是一个正确或错误的概念。
The United Nations cultural organization UNESCO named it a World Heritage Site in 1998 - a designation for places of special physical or cultural value.
VOA: standard.2010.08.05
应用推荐