而且,通过按强命名标准区分类,ARM可帮助您更好地指出问题类及其拥有者。
Again, by differentiating the classes by a strong naming standard, ARM helps you better pinpoint the problem classes and their owners.
一个令人混淆的方面是处理JVM 类路径这样的老问题。
One confusing aspect is the continuing issue of dealing with JVM classpaths.
如图1所示,每个问题都提示架构师:这是一类特定的设计问题,需要作出架构决策。
As Figure 1 shows, an issue informs the architect that a particular design problem exists and requires an architectural decision.
而高超声速风洞喷管的设计和计算则对解决这一类问题具有重要的科学意义和实用价值。
The design and computation of the hypersonic nozzle have scientific and practical value to solve these problems.
计算机仿真结果表明,对于这一类复杂的柔性流程工业生产调度优化问题,本文提出的方法具有很好的实际应用前景。
Simulation results show that the algorithm illustrated in this paper has a prospective future in the applications to such complex optimization problems in process scheduling.
但是,您可以添加特定于您的业务问题的自定义代码,并且不必为设置类和方法而烦恼。
However, you can add custom code that is specific to your business problem without having to worry about setting up classes and methods.
这个检测器查找两类问题。
类装入器约束问题。
数据流分析可以检查跨越多个类的问题。
Data flow analysis can examine problems that span multiple classes.
图5:用来寻找分析类的问题。
这也恰恰是在选择和使用数据绑定软件包时应该考虑到的那类问题。
These are also exactly the sort of problems you should watch out for when choosing, and then using, a data binding package.
InfoQ:除了稳定性和容量外,还有哪类问题必须注意的?
InfoQ: Aside from stability and capacity, what other sorts of problems can occur?
您可以使用它来分析下面的两类问题:吞吐量低于目标情况,或者吞吐量逐渐降低。
You can use it mainly to analyze the following two kinds of problems: throughput lower than target or gradual throughput degradation.
类装入器命名空间问题。
许多开发人员发现约束违反是一种很难解决的类装入问题。
Many developers find constraint violations to be a difficult type of class loading problem to resolve.
这种局部化问题使我们很难判断类和对象之间的依赖性。
Determining dependencies between classes and objects suffers from the same kind of localization problem.
从后端视角来看,他提出了这样一个问题:“我们真的需要类与对象来传递数据吗?”
From a back-end perspective, he asks the question "Do we really need classes and objects to pass data around"?
从本质上讲,这取决于您识别有问题的方法和类的能力,而不是识别线程本身。
This depends on your ability to recognize the methods and classes in question, not to recognize the thread itself, per se.
你也同时必须回答这个问题:你是否允许客户继承这个类?
You also have to answer questions like: do you allow clients to subclass from this type?
在这个系列的文章中,我们将深入研究类装入的问题,并用丰富的示例演示它们。
In this series of articles, we'll provide an in-depth look at class loading problems and use comprehensive examples to illustrate them.
类及序列图问题的实质。
在这一节中,我将介绍这两类问题以及我在开发JiBX 1.0期间对它们的处理。
In this section, I'll cover both types of problems and the workarounds I applied in the course of the JiBX 1.0 development.
然后您可以继续进行分析,把范围缩减到哪个包、类,直到找到导致问题的方法。
Then you can continue narrowing down to determine which package, class, and, finally, which method is causing the problem.
所以,对于每一阶段的深入理解有助于对类装入问题的诊断。
Therefore, a thorough understanding of each phase helps in the diagnosing of class loading problems. The phases are illustrated in Figure 2.
但是,此代码存在一个潜在的问题:如果squarepeg类已经包含一个与圆孔没有任何关系的radius方法,那又该怎么办呢?
However, a potential problem does exist with this code: what if the SquarePeg class already had a radius method that has nothing to do with round holes?
之前我们就提到,这通常是由不兼容的Jar文件或其他库以及类加载问题所引起的。
We mentioned earlier that usually this is caused by incompatible Jar files or other library and class loading issues.
好在osgi为你管理起这种依赖传递,确保不再出现不兼容类引发的问题。
Fortunately, OSGi manages such transitive dependencies for you, and ensures that you never have problems due to incompatible classes.
与类的可视性有关的问题。
与类的可视性有关的问题。
应用推荐