类型安全但不像Struts一样冗长。
常见的类型安全好处都是通过服务协约实现的。
The usual benefits of type safety as enabled by service contracts.
我们都讨厌宏而喜欢类型安全。
We both shared a dislike of macros and a liking for type safety.
它还具有丰富的类型安全以及自动化查询等特性。
It also has extensive type-safety and query-automation features.
Sitebricks不会破坏类型安全或性能。
下面我将介绍一种不损失一般性而获得类型安全的方法。
Below I will suggest a way to get type-safety without losing generality.
开发人员需要确保类型安全,并且需要手动处理高级类型。
The developer would need to ensure type safety and handle high-level types manually.
MetamodelAPI和接口是类型安全功能的基础。
The Metamodel API and interfaces are the backbone of the type-safety feature.
然而,因为泛型,当使用集合而没有类型安全时,编译器将抛出警告。
However, because of generics, the compiler now throws warnings when collections are used without type safety.
从清单6中可以看出,我们再次利用泛型来使所有这些代码类型安全。
As you can see in Listing 6, generics are once again leveraged to make all of this code type safe.
另一个我们所依赖的验证(C#类型安全和通道契约)也是非常有用的。
The other verification that we rely on (C# type safety and channel contracts) have been very useful.
每个业务规则组均支持在提供的接口中定义的操作,从而实现了类型安全。
Each business rule group supports the operation signatures defined in a provided interface, thus enabling type safety.
也许用这种交互方式的最大好处是类型安全以及直接使用方法名是可能的。
Perhaps the biggest advantage to using this means of interaction is that type-safety and the direct use of method names is possible.
将定义message类,以便更快捷地创建和处理信息,并且具有类型安全。
Message classes are defined to make the creation and processing of the messages simple, fast, and type safe.
这些机制一起允许用一种类型安全和简洁的方式来构建由可重用组件组成的程序。
Together, they allow applications to be constructed from reusable "components" in a type-safe and succinct manner.
每个通知都使用最少的连接点信息,仅透漏类型安全、异常检查等必需的自身信息。
Each advice USES as little information about the join point as possible and discloses about itself only what's necessary for type-safety, exception-checking, and the like.
这是Scala中的一个常见的特色,它可以提供更简单、更类型安全的枚举方式。
This is a common idiom in Scala to provide a simpler, more type-safe way of doing enumerations.
这种字符串方式的cipher选项,并没有类型安全以确保你正在用有效的选项。
With this cipher option String approach, there is no type-safety to ensure you're using valid options.
使用LINQ toXSD,这一查询可以以更加简洁和类型安全的方式来实现。
Using LINQ to XSD, the query is written in a much clearer and type-safe way.
Dhanji:当然可以。主要的原则就是简洁与类型安全,就像Guice那样。
Dhanji: Sure, the primary principles are conciseness and type-safety, just like Guice.
响应模板中包含类型安全的值对象信息图子集,这些信息是用户在请求模板中请求的。
The response template contains a type-safe subset of the value object information graph requested by the user in the request template.
响应模板中包含类型安全的值对象信息图子集,这些信息是用户在请求模板中请求的。
The response template contains a type safe subset of the value object information graph requested by the user in the request template.
类型安全意味着宏在进行类型转换之前,会验证指定操作可以在指定类型上安全地执行。
Type-safe means that the macro verifies that the specified operation can be performed on the given type before attempting to cast.
Scala是一种通用编程语言,它以简洁、优雅且类型安全的方式表达常用的编程模式。
Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way.
正如前面所提到的,每个缓冲区包含get和put方法,它们可以提供类型安全的版本。
As previously mentioned, each buffer includes get and put methods that offer type-safe versions.
此外,由于采用了新的方式对字节码进行校验,我们还能确保编译的代码在运行时的类型安全。
Furthermore, due to a novel approach to bytecode verification, we're also able to ensure runtime type safety of the compiled code.
这个合约不允许该方法抛出运行时异常(防止因违反泛型类型安全而成为调用代码中的bug)。
That contract does not allow this method to throw a run-time exception (barring violations of generic type safety that qualify as bugs in the calling code).
类型安全功能将提供在编译时的早期错误检测,而不是使用标准JPQL 构建时的运行时检测。
The type-safety feature will provide for much earlier error detection at compile time, rather than at run time with the standard JPQL constructs.
泛型dao模式(也称为类型安全的DAO)对于减少数据访问层中的代码重复非常重要。
The generic DAO pattern (also called Typesafe DAO) is critical to reducing code duplication in the data access tier.
Scala是一门现代的多范式编程语言,志在以简练、优雅及类型安全的方式来表达常用编程模式。
Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way.
应用推荐