反射是运行时发现的关于给定类或接口的信息,如方法、字段和构造函数。
Reflection is the runtime discovery of information, such as methods, fields, and constructors, about a given class or interface.
在编程语言上下文中,元数据是添加到程序元素如方法、字段、类和包上的额外信息。
In the programming language context, metadata is additional information attached to program elements such as methods, fields, classes, and packages.
通用语言中的传统的抽象机制,如方法和类,已不足以满足建立新的抽象层次的需要。
Conventional abstraction mechanisms of general purpose programming languages such as methods and classes, are no longer sufficient for creating new abstraction layers.
方法和实践中确定并定义的一种类型的评审是定期评审,如方法中所说明的。
One type of review that is identified and defined in the methods and practices is the periodic review, as explained in the methods.
首先,可以通过改变连接点上的上下文来直接配置连接点,如方法参数或者执行对象本身。
First, you can configure the join point directly by varying some context available at the join point, like method arguments or the executing object itself.
AOP使您可以将这些方面联系到POJO,然后指定一个时间点(如方法开始时或产生异常时)和另一个需要联系的方面。
AOP lets you attach these aspects to POJOs, then specify a point in time (like the beginning of a method or exception generation) and another aspect to attach.
有相当多的新方法可以提供帮助,如启发儿童主动学习,能力-同伴辅导课程等等。
There are quite a number of new methods which can help, such as child-initiated learning, ability-peer tutoring, etc.
事实上,重写是发现和纠正一些错误的最好方法,如语法和拼写错误。
In fact, rewriting is the best way to find out and correct some mistakes, like grammar and spelling mistakes.
他们的方法足够灵活,原则上可以纳入其他重要的生活质量变化,如减少污染物排放总量、降低犯罪率。
Their approach is flexible enough that in principle other important quality-of-life changes could be incorporated—for example, decreases in total emissions of pollutants and declines in crime rates.
各种干预措施,如抗感染药物,可以增加人口的平均存活时间,但只有那些减缓人体衰老速度的方法才能延长最长寿命。
Various interventions, such as infection-fighting drugs, can increase a population's average survival time, but only approaches that slow the body's rate of aging will increase the maximum lifespan.
人类最初开始建造房屋时,决定它们是否如计划一样奏效的方法几乎是去试一下,看看有什么不妥的地方。
When humans first started building houses, determining whether they would work as planned was mostly a matter of trial and error.
这一趋势最初是被医学界作为一种对抗心脏病的方法,但它也产生了一些意想不到的副作用,如超重和心脏病——而这正是医学界一直试图对抗的问题。
This trend, which was started by the medical community as a method of fighting heart disease, has had some unintended side effects such as overweight and heart disease—the very thing the medical community was trying to fight.
退出活动可能有几种方法,如您看到的“填写入学表”活动的那样。
Exiting an activity is possible in several ways, as you see with the "Fill out Enrollment Forms" activity.
我们存在是有意义的,因此有些人用各种方法,如星象或通灵等去寻求这些意义。
We were made to have meaning. This is why people try dubious methods, like astrology or psychics, to discover it.
还有一些事情,如重载方法,依然有很多未决的问题,尽管对一些小子集的调用,声明类型能处理绑定。
There are still unresolved issues for such things as overloaded methods, although for some small subset of calls the argument types can resolve the binding.
SCA还为单个服务集合的业务解决方案的组装提供了一个模型,并控制解决方案的各个方面,如访问方法和安全。
SCA also provides a model for the assembly of business solutions from collections of individual services, with control over aspects of the solution such as access methods and security.
他还找到了新的加强广告宣传的方法,如引入由一家本地银行资助的商业专栏。
He is also finding new ways to drum up advertising, such as introducing a business column sponsored by a local bank.
遗传改良的传统方法,如传统诱变和接合作用可用于提高微生物培养物的质量。
Traditional methods of genetic improvement such as classical mutagenesis and conjugation can be applied to improve the quality of microbial cultures.
现在可以很简单地访问清单1中的方法,如清单2所示。
Now the method in Listing 1 can be accessed very simply, as shown in Listing 2.
当执行远程调用时,创建类的实例并将其传递给异步服务方法,如清单4所示。
You create an instance of the class and pass it to your asynchronous service method when you make your remote call, as seen in Listing 4.
这里用到了其他几个方法,如清单5 所示。
There are several other methods are using here, so let's take a look at those too in Listing 5.
当容器毁坏bean 时(如由于方法生成了一个运行时异常),还有可能留下打开的连接。
The possibility also exists that, if the bean should get destroyed by the container (for example, because a method has thrown a run-time exception) an open connection might be left dangling.
string模块包含了几种类型的事物,如函数、方法和类;它还包含了公共常量的字符串。
The string module contains several types of things, such as functions, methods, and classes; it also contains strings of common constants. For example
InfoQ:你不认为Ruby的局限性,如进程方法、IO操作和线程缺失会阻碍Ruby融合到ABAP中?
InfoQ: Don't you think that the limitations about Ruby processes methods, IO operation and absence of threads might slow up the adoption of Ruby in ABAP?
其他验证方法,如Schematron,可以作为验证层进行代码验证。
Other validation methods such as Schematron can be used as the validation layer for validating codes.
但是考虑到手边的任务,有一个更简单的方法,如清单2所示。
But given the task at hand, there was a much simpler way, as shown in Listing 2.
至少有一种方法如激素植入能明显地鼓起男人的二头肌。
But at least one method, hormone implants, visibly bulge from a man's bicep.
处理程序必须调用超类中的方法而是重写模块中的方法(如清单9所示)。
It is essential that the handler invoke methods in the superclass rather than methods in the overriding module (see Listing 9).
这些编译器已经增加了可以利用POWER5优化的标记,方法如本文前面所述。
These compilers have added flags that take advantage of POWER5 optimizations, mentioned previously in this paper.
因此我们为这个例子设计了自己的DMS接口,它包含两个方法,如清单1所示。
So, for this example we've designed our own DMS interface that provides two methods, as shown in Listing 1.
应用推荐