反射是运行时发现的关于给定类或接口的信息,如方法、字段和构造函数。
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.
还有一些事情,如重载方法,依然有很多未决的问题,尽管对一些小子集的调用,声明类型能处理绑定。
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.
我们从一个简单的方法开始,如 清单12 所示。
利用各种方法如gtd来克服这种行为。
我们的方法如清单17所示。
现在可以很简单地访问清单1中的方法,如清单2所示。
Now the method in Listing 1 can be accessed very simply, as shown in Listing 2.
此阶段则可采用较为轻量级的方法,如XP。
This phase can benefit from a lighter methodology such as XP.
这里用到了其他几个方法,如清单5 所示。
There are several other methods are using here, so let's take a look at those too in Listing 5.
描述某地有多种方法,如beautiful(漂亮的),big(大的)。
There are many ways to describe places, e.g. beautiful, big.
string模块包含了几种类型的事物,如函数、方法和类;它还包含了公共常量的字符串。
The string module contains several types of things, such as functions, methods, and classes; it also contains strings of common constants. For example
此类的入口点是 process_definition方法,如清单9 所示
The entry point of this class is the process_definition method, shown in Listing 9
其他验证方法,如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.
处理程序必须调用超类中的方法而是重写模块中的方法(如清单9所示)。
It is essential that the handler invoke methods in the superclass rather than methods in the overriding module (see Listing 9).
还有其它可能的方法,如碳化物信用市场的使用。
There are other possible methods, for example the use of carbon-credit markets.
这些编译器已经增加了可以利用POWER5优化的标记,方法如本文前面所述。
These compilers have added flags that take advantage of POWER5 optimizations, mentioned previously in this paper.
一个独特清晰的用来指定事务行为的方法如 清单1所示。
One particularly clear way to specify transactional behavior is shown in Listing 1.
应用推荐