• 然而对于所有方法参数来说,类型注解必须的。

    However, type annotations are required for all method parameters.

    youdao

  • 这里一份关于scala何时需要显式类型注解规则总结

    Here is a summary of the rules for when explicit type annotations are required in Scala.

    youdao

  • 所以scalahaskell这样语言需要更多类型注解

    So, Scala requires more type annotations than languages like Haskell.

    youdao

  • Scala使用类型注解作为显式类型声明的方式,比如HashMap。

    Scala USES the term type annotations for explicit type declarations like HashMap.

    youdao

  • 即使没有显示的类型注解语言编译器可以上下文中分辨相当类型信息

    The language's compiler can discern quite a bit of type information from the context, without explicit type annotations.

    youdao

  • John讨论了字节转换包括Aspect将其作为三种类型注解处理选项之一

    John discussed byte code transformers, which include Aspects, as one of the three types of Annotation processing options.

    youdao

  • XPath 2.0支持模式认知”,意味着元素类型注解可以用于XPath导航

    XPath 2.0 supports "Schema Awareness" meaning that elements of the tree have type annotations which can be used to navigate the XPath.

    youdao

  • 代码式地变量指定类型信息时,类型注解应该在变量冒号后面(也就是类pascal语法)。

    When explicit type information for variables is written in the code, these type annotations follow the colon after the item name (i.e., Pascal-like syntax).

    youdao

  • 这些语言写出代码需要Scala少的类型注解因为Scala的类型推断算法得同时支持面向对象类型函数式类型

    Code written in these languages require type annotations less often than in Scala, because Scala's type inference algorithm has to support object-oriented typing as well as functional typing.

    youdao

  • 模式文本一部分匹配时,相关类型创建注解

    When a pattern matches a part of the text, an annotation is created for the associated type.

    youdao

  • 对于每个属性我们都会指定名称类型有选择地加上一个或者多个注解

    For every property we specify a name, type and optionally one or more annotations.

    youdao

  • 主调用的方法必须有一个返回类型注解

    The calling method needs a return type annotation.

    youdao

  • @Pointcut注解允许我们定义切入点表达式,而且必要时,还有切入点绑定参数个数类型

    The @Pointcut annotation allows us to define pointcut expressions and, where necessary, the number and type of arguments to be bound by the pointcut.

    youdao

  • 保持策略retention policy)实现注解重要根据数据内存保持时间的长短,类型的保持策略

    The retention policy, which is an important part of implementing Annotations, is based on how long the data needs to be kept in memory. There are three different types of retention policy

    youdao

  • Produces注解会将某个方法标识生产方法,这样同一个系统Bean如果需要类型对象就会调用这个生产方法。

    Produces annotation identifies a specific method as a producer method which is called whenever another bean in the system needs an injected object of the specified type.

    youdao

  • 需要注意的是每个方法一个公共注解指明图片文件名,方法的返回类型都是AbstractImagePrototype

    Notice that each method has a comment annotation specifying the image file to use and a method that returns an AbstractImagePrototype.

    youdao

  • 根据相关注解新的类型别名(type - aliasing)规则已经gcc中得到了完全支持

    On a related note, the new type-aliasing rules are fully supported in GCC.

    youdao

  • 提供丰富注解格式工具引入一种叫做FlashSpots全新注解类型

    We were also invited to give its upcoming new version a go (see screenshot below). It features more formatting tools for annotation and a new funny annotation type called Flash Spots is introduced.

    youdao

  • mobl支持两种类型注解inverse注解(定义反向关系)searchable(全文搜索中包含字段)。

    Mobl supports two types of annotations: inverse annotations (defining inverse relationships) and searchable (to include the field in full-text searches).

    youdao

  • Produces注解用于标识MIME媒体类型这样资源中的方法生成该类型的内容返回客户端。

    Produces: This annotation specifies the MIME media types that the methods in the resource can produce and return to the client.

    youdao

  • 展示了如何属性方法中添加行为,也谈到如何使用Aspects来注解类型和方法。

    He also showed how to add behavior to classes, fields and methods and talked about annotating Types and methods with Aspects.

    youdao

  • 其次平台提供了标准化注解驱动类型安全依赖注入框架方式类似于GoogleGuice

    Second it provides a standardised, annotation-driven, type-safe dependency injection framework for the platform similar in approach to Google's Guice.

    youdao

  • 如果方法利用注释类型进行注解没有重写类方法,则编译器会生成一条错误消息

    If a method is annotated with this annotation type but does not override a superclass method, compilers are required to generate an error message.

    youdao

  • 如果方法利用注释类型进行注解没有重写类方法,则编译器会生成一条错误消息

    If a method is annotated with this annotation type but does not override a superclass method, compilers are required to generate an error message.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定