As you can see in Listing 6, generics are once again leveraged to make all of this code type safe.
从清单6中可以看出,我们再次利用泛型来使所有这些代码类型安全。
Message classes are defined to make the creation and processing of the messages simple, fast, and type safe.
将定义message类,以便更快捷地创建和处理信息,并且具有类型安全。
The most important characteristics of generics is type safe. Generics can also cancel the converting of type.
泛型最重要的特点是类型安全,泛型还可以消除类型转换等。
Always wrap your stored procedures in a high level, type safe class. Only that class invokes the stored procedures.
总是在高层用类型安全的类包装存储过程。仅在那个类中调用存储过程。
The response template contains a type safe subset of the value object information graph requested by the user in the request template.
响应模板中包含类型安全的值对象信息图子集,这些信息是用户在请求模板中请求的。
However, Web Beans had the advantage of starting from a clean SLATE and so the end result is cleaner, more elegant and more type safe overall.
然而,WebBeans具有“成分清白”的优势,所以最后的结果只会是更加干净,更加优雅,而且类型更加安全。
When code is type safe, the runtime's security enforcement mechanism ensures that it does not access native code unless it has permission to do so.
当代码是类型安全时,运行时的安全性强制机制确保代码不会访问本机代码,除非它有访问本机代码的权限。
During this compilation, code must pass a verification process that examines the MSIL and metadata to find out whether the code can be determined to be type safe.
在此编译过程中,代码必须通过验证过程,该过程检查MSIL和元数据以查看是否可以将代码确定为类型安全。
The National Hydrogen Bomb Association hopes to educate people in the safe handling of this type of weapon.
全国氢弹协会希望教育人们如何安全使用这类武器。
So although mapping to a more general type is always safe, mapping back to a specialized type can be problematic: the specialized type has more rules, which make the content specialized.
因此虽然映射到更一般化的类型是安全的,但是再映射回专门化类型时可能会出现问题:专门化类型有更多的规则使得内容专门化。
Likewise with the generics changes — the generic type information is used by the compiler to enforce compile-time safe usage, but the generated bytecode still USES casts everywhere.
比如泛型更改——泛型类型信息——由编译器用于实施编译时安全,但是生成的字节码仍然到处使用强制转换。
As long as the old behavior continues to exist with the old values, then type expansion is safe.
只有当旧行为继续与旧值共同存在时,类型扩展才是安全的。
The response template contains a type-safe subset of the value object information graph requested by the user in the request template.
响应模板中包含类型安全的值对象信息图子集,这些信息是用户在请求模板中请求的。
Ultraluxury Items: If you're in a business that caters to the ultrarich, you can expect to be safe, as this type of consumer is likely to have measures in place to weather the recession.
超级奢侈品:如果你在一个为超级富豪服务的企业,你应该是安全的,因为这些类型的顾客有办法度过衰退。
Maybe it's because of my upbringing, but I am the type who usually plays it safe.
也许是由于我的成长背景,我是属于那种稳扎稳打型的人。
Scala is statically typed: Scala is equipped with an expressive type system that enforces statically that abstractions are used in a safe and coherent manner.
Scala是静态类型的:scala配备了一套富有表现力的类型系统,该抽象概念以一种安全的和一致的方式被使用。
This is a common idiom in Scala to provide a simpler, more type-safe way of doing enumerations.
这是Scala中的一个常见的特色,它可以提供更简单、更类型安全的枚举方式。
Using LINQ to XSD, the query is written in a much clearer and type-safe way.
使用LINQ toXSD,这一查询可以以更加简洁和类型安全的方式来实现。
Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way.
Scala是一种通用编程语言,它以简洁、优雅且类型安全的方式表达常用的编程模式。
As previously mentioned, each buffer includes get and put methods that offer type-safe versions.
正如前面所提到的,每个缓冲区包含get和put方法,它们可以提供类型安全的版本。
Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way.
Scala是一门现代的多范式编程语言,志在以简练、优雅及类型安全的方式来表达常用编程模式。
Second it provides a standardised, annotation-driven, type-safe dependency injection framework for the platform similar in approach to Google's Guice.
其次,它为平台提供了标准化、注解驱动、类型安全的依赖注入框架,方式类似于Google Guice。
It is statically type-checked and does not allow type coercion, so is safe with regards to types.
它进行静态类型检查,并且不允许强制类型转换,因而对于类型而言是安全的。
When you need them, though, the advanced type features provide you with greater flexibility for solving design problems in a type-safe way.
不过,当你需要它们的时候,高级类型特性可以给你提供更灵活的方式,用类型安全的方式解决设计上的问题。
Type-safe means that the macro verifies that the specified operation can be performed on the given type before attempting to cast.
类型安全意味着宏在进行类型转换之前,会验证指定操作可以在指定类型上安全地执行。
Together, they allow applications to be constructed from reusable "components" in a type-safe and succinct manner.
这些机制一起允许用一种类型安全和简洁的方式来构建由可重用组件组成的程序。
As with the safe and recovery modes, all you now need to do is type passwd followed by the name of the user whose password you need to change.
至于安全和修复模式,你要做的就是键入你要改变密码的用户名和新密码。
Other than a small part of the kernel, the bulk of Singularity is written in the type-safe language Sing#.
相对于只用于一小部分内核,Singularity的一大部分都是用类型安全的Sing#来编写的。
Other than a small part of the kernel, the bulk of Singularity is written in the type-safe language Sing#.
相对于只用于一小部分内核,Singularity的一大部分都是用类型安全的Sing#来编写的。
应用推荐