Operator overloading that works well with generics and built-in primitive types.
运算子多载,适用于泛型及内建基本型别。
These are not problems with generics per se, but with the practicality of language evolution and compatibility.
这并非泛型本身的问题,而是与语言的演化与兼容有关。
For instance when you look at your groceries, can you replace some brands with generics so you can save some cash?
举个例子,看看你的东西,你会不会用没什么品牌的东西代替一些品牌货来省钱呢?
Lately more and more people have gained enough experience with Generics to see that they really are very hard to use.
最后随着越来越多的人掌握了泛型编程的技巧,他们才发现泛型确实很难用。
We've all had a few head-scratching moments with generics, but far and away the trickiest part of generics is wildcards.
对于泛型我们都经历过一些痛苦的回忆,但毫无疑问通配符是最棘手的部分。
The Stack class would clearly benefit from the ability to specify its element type. With generics, that becomes possible.
栈类应当受益于指定元素类型的能力。有了泛型以后,这个将成为可能。
As an example of working with generics, I'm going to use a data structure representing directories and files on a collection of paths.
作为使用泛型的一个例子,我准备使用一个表示一组路径中的目录和文件的数据结构。
Converting existing library classes to work smoothly with generics was no small feat, but as is often the case, backward-compatibility does not come for free.
在转化现有的库类来使用泛型方面没有多少技巧,但与平常的情况相同,向后兼容性不会凭空而来。
You can easily alter it to not use generics if you like, then it will run with older JDKs.
如果愿意,您可以容易地改变它以不使用泛型,然后它将用较旧的JDK运行。
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.
比如泛型更改——泛型类型信息——由编译器用于实施编译时安全,但是生成的字节码仍然到处使用强制转换。
But with the introduction of generics, we now also have ReadOnlyCollection, so you get the same functionality, but strongly-typed: awesome!
但随着泛型的引入,我们现在还拥有了ReadOnlyCollection,这样你不仅获得了同等功能,而且还是强类型的:太棒了!
Our proprietary brands can't compete with the generics, especially those that are manufactured offshore.
我们的品牌不能和同行的产品竞争,尤其是那些海外生产的产品。
He argues that by joining with local generics firms, multinationals can get "cheap access to the middle class" in these markets.
瑞迪认为,通过加入当地仿制药公司,跨国公司可以在这些市场获得“廉价接近中产阶级的机会”。
Note: This article assumes familiarity with the basics of generics in JDK 5.0.
注意:本文假设您对JDK 5.0中的范型有基本的了解。
And the boom is set to continue, with the American generics sector forecast to grow by over 9% a year to 2012.
而这种繁荣还要继续,美国仿制药部门预测,到2012年还将有超过9%的增长。
With an understanding of Generics, you can see that there should be no reason to replace the type arguments in this block of code with the typical 't' found in Generics.
基于对泛型的了解,你可以发现没有理由不在这段代码里替换类型参数为泛型里典型的'T '。
Ranbaxy, a big Indian generics firm, gobbled up six competitors last year and is now talking with private-equity firms about a bid for the generics arm of Germany's Merck.
印度仿制药大厂南新去年一口气吞掉了6个竞争者,目前正与私人股本公司洽谈,以竞标德国默克的仿制药子公司。
Before digging into the ASM details, I'll start off with a look at how generics information is actually encoded into the binary classes.
在钻研ASP细节之前,让我们首先来看看泛型信息编码到二进制类中的实际方式。
Others have gone a bit further, as Britain's GlaxoSmithKline did with its recent acquisition of a share in Aspen, an African firm specialising in branded generics.
另有一些公司走得远一些,如英国的葛兰素史克最近收购了一家非洲品牌仿制药公司阿斯彭aspen的股份。
The most striking deals have involved Pfizer, a conservative giant not known for cosiness with upstart generics firms.
最引人注目的交易都与辉瑞(Pfizer)【译注10】有关联,这家保守的药业巨头同突然发迹的仿制药公司之间的惬意合作并不为人熟知。
Variations in the rate at which a brand-name and its generic (or two generics) release their active ingredient could court disaster with some drugs, as well.
对于某些药物来说,原创药物和仿制药(或两种仿制药)之间活性成分释放速率的差异可能导致灾难性的后果。
Generics firms will do better with biosimilars than they have with conventional generic drugs, insists Viren Mehta, an industry expert.
工业专家维伦梅塔表示,无专利保护制药公司制造生物仿制药品将会比制造传统的无专利保护药品更有优势。
Sandoz's Mr George says the leading generics firms have access to better technologies now and have made doctors and patients comfortable with using copies of drugs.
山德士公司的乔治先生说非专利药品制药公司的领军者现在有着更优秀的科技优势来进入这个领域,并且他们已经让医生和患者乐于使用仿制药品。
Kiran Mazumdar-Shaw, head of Biocon, says the "easy substitution" that generics firms enjoy at the pharmacy does not work with complex biosimilars—which require a doctor's approval to dispense.
百康公司总裁基朗妈祖达尔-萧说非专利药品企业享受在制药业内享受的“简单取代策略”在复杂的生物仿制制药领域将不凑效了---在生物仿制制药领域,需要有医生的批准才可以进行。
The report looks at consumer spending on prescription drugs, and presents data on how many prescriptions have been filled, in which therapeutic areas, and compares use of generics with branded drugs.
该报告透视了处方药消费、目前处方药治疗领域数据、对仿制药和原研药的比较。
Big Pharma has long flirted with branded generics, but this time it looks like the real thing.
制药大亨们早就对品牌仿制药有意,但这次看起来像是要玩真的了。
With so much at stake, it is odd then, that branded generics have made so little headway in the world's largest drug market.
奇怪的是,在如此严峻的形势下,品牌仿制药在全球最大的药物市场却只有很小的进展。
I don't think you're going to be able to use generics with ASP Classic, I think you're going to need to convert it to an array.
我不认为你将能够使用泛型与asp经典,我想你会需要将其转换为一个数组。
I don't think you're going to be able to use generics with ASP Classic, I think you're going to need to convert it to an array.
我不认为你将能够使用泛型与asp经典,我想你会需要将其转换为一个数组。
应用推荐