Simply put, generics provide compile-time type safety for collections.
简单来说,泛型为集合提供了编译时类型安全。
JavaType: This is the run-time type of the object that is to be serialized.
这是要序列化的对象的运行时类型。
Of course, you also give up the safety net of the compile-time type checking.
当然,还会失去编译时检查的安全保障。
Returns a pointer to the run-time type information (RTTI) table for the object type.
返回一个指向用于说明对象类型的RTTI表的指针。
For the trouble, you get rock-solid performance, compile-time type checking, and a very high-level language.
虽然付出了这一点成本,但可以得到非常好的性能,编译时类型检查,以及一个非常高级的语言。
If the sources don't use dynamic_cast or the typeid operator, Run Time type Identification (RTTI) might be disabled.
如果源代码没有使用dynamic_cast或者typeid操作符,那么就可以禁用运行时类型识别(RTTI)。
When an exception is thrown, the static, compile-time type of the thrown object determines the type of the exception object.
当抛出一个表达式的时候,被抛出对象的静态编译时类型将决定异常对象的类型。
Amendment 3 - Information technology - Abstract Syntax notation One (ASN. 1) : Specification of basic notation - Time type support.
修改3 - - -信息技术- - -摘要语法符号1 (asn。1):基本符号规范- - -时间型号支撑。
You can then treat each named value as an instance of that class, providing you with compile-time type safety that a named set of integers can't.
然后,可以将每个指定的值看作是那个类的一个实例,这为您提供了指定的整数集合所无法提供的编译时类型安全。
The time type is also a long integer, representing the number of milliseconds since midnight, local to the timezone in which the property was set.
Time类型也是一个长整数,表示自午夜起的毫秒数,以设置属性时所在的时区为当地时区。
The interaction between the explicit interface, proxy, invoker, and component configurator implementations relied heavily on C++ Run-Time Type Information (RTTI).
这个方法的重要后果是显而易见的。显式接口、代理、调用程序和组件配置器实现间的交互严重依赖于 C++实时类型信息 (Run-Time Type Information,RTTI)。
Automobile suppliers have the responsibility to publish to the society in time type of automobiles that are not produced and take positive measures to ensure fitting supply within reasonable term.
汽车供应商有责任及时向社会公布停产车型,并采取积极措施在合理期限内保证配件供应。
Run-time Type Identification (RTTI) allows programs that use pointers or references to base classes to retrieve the actual derived types of the objects to which these pointers or references refer.
通过运行时类型识别(RTTI),程序能够使用基类的指针或引用来检索这些指针或引用所指对象的实际派生类型。
Generics are useful because they provide stronger compile-time type checking, require fewer explicit conversions between data types, and reduce the need for boxing operations and run-time type checks.
泛型相当有用,因为他们提供强制的编译时类型检查,要求更少的数据类型之间的显式转换,并减少装箱拆箱的操作和运行时类型检查。
In her opinion, there is a complex relationship among children's progress, the type of toys they are given and the time parents spend on them.
在她看来,孩子的成长、他们得到的玩具类型和父母花在玩具上的时间之间,有着复杂的关系。
This type of worker has confidence in his ability, and is likely to feel that collaboration is a waste of time.
这种类型的员工对自己的能力有信心,可能会觉得合作是浪费时间。
For example, consumers could use appliances in a more efficient way by adjusting the time of cooking to the type of food.
例如,消费者可以根据食物种类调整烹饪时间,从而更高效地使用电器。
It also watches for what's called "close by hands", where both hands are close together near the top of the wheel, so the driver can type with both thumbs and drive at the same time.
它还关注所谓的“近距离接触”,即两只手靠近方向盘顶部,这样司机就可以一边开车一边用两个拇指打字。
It also watches for what's called "close-by hands", where both hands are close together near the top of the wheel, so the driver can type with both thumbs and drive at the same time.
在双手靠近“智能方向盘”顶部的地方,方向盘套还会监视所谓的“附近的手”,这样司机就可以一边用两个大拇指打字一边开车了。
It's the first time I, a fair-skinned, freckly type, have sailed in the sun without burning.
这是第一次,我这样一个皮肤白皙、有雀斑的人,顶着太阳航海而没有晒伤。
More and more, young people choose spending time on their electronic devices over engaging in other activities, regardless of the type.
越来越多的年轻人选择把时间花在电子设备上,而不是参加其他活动,不论是什么类型的活动。
At the same time, more of this newly discovered oil is of the type that requires a greater investment to refine.
与此同时,在这些新发现的石油中,更多是需要加大投资才能提炼的类型。
Occasionally , a sequence of fossil-rich layers of rock permits a comprehensive look at one type of organism over a long period of time.
偶尔,一个富含化石的岩层序列可以让我们持续并全面地观察一种生物。
And that means that for the first time people will have a chance to get up close and personal with the type of African-American woman they so rarely see.
这意味着人们将首次有机会近距离接触他们很少见到的那种非裔美国女性。
In fact, there is another type of friend—one that has not been with us for a long period of time, but fills our mind at some moment.
事实上,还有另一种朋友,他虽然很长一段时间没有和我们在一起,但却会在某个时刻充满我们的心灵。
The type of astrology that most western astrologers practice, horoscopic astrology, requires an exact birth time in order to work properly.
大部分西方占星师所使用的占星方法,需要对方提供准确的出生时间,才能正常进行运算。
The events can be filtered by business object type, time stamp, and connector ID.
可以根据业务对象类型、时间戳和连接器 ID 来筛选事件。
The key name, its time, and type are then added to the current password array for later processing.
键名及其时间和类型随后将被添加到当前密码数组中以供稍后处理。
If you see an incident of animal cruelty, note the date, time, location, type and number of animals involved.
如果你看到了虐待动物的事件,记录好日期、时间和地点,记录好相关动物的数量。
If you see an incident of animal cruelty, note the date, time, location, type and number of animals involved.
如果你看到了虐待动物的事件,记录好日期、时间和地点,记录好相关动物的数量。
应用推荐