Also, client classes that instantiate our generic class must do so with classes that meet the declared constraint on what constructors exist.
同样,实例化泛型类的客户机类必须使用满足对构造函数存在所声明的约束的类来这样做。
The constraint elicitation component searches class models for occurrences of predefined anti-patterns.
约束启发组件搜索类模型,寻找预定义的反模式的出现。
While the simplest way to avoid class loader constraint violations is to only have one copy of a class in the system, it is sometimes necessary to have multiple versions.
虽然避免类装入器约束违反的最简单方法是在系统中只有类的一个副本,但有时拥有多个版本也是有必要的。
Because all four conditions hold, this situation results in a class loader constraint violation.
因为四个条件全部成立,所以这种情况会导致类装入器约束违反。
Class loader constraint problems.
类装入器约束问题。
Many developers find constraint violations to be a difficult type of class loading problem to resolve.
许多开发人员发现约束违反是一种很难解决的类装入问题。
This article, the final installment in this four-part series, examines class loader deadlocks and constraint violations.
本文是本系列中的四篇文章的最后一篇,它研究了类装入器死锁和约束违反。
However, there is a class of business processes where a rigid process would be an unacceptable constraint on the needs of the business.
但是在有一类流程中,僵化的流程对业务需求来说是不可接受的约束。
Avoiding class loader constraint violations.
避免类装入器约束违反。
Resolving class loader constraint violations
解决类装入器约束违反
According to the JVM specification, a class loader constraint is violated when the following four conditions hold.
根据JVM规范,当满足以下四个条件时,就违反了类装入器约束。
DrySQL retrieves your table's constraint definitions, and USES them to automatically generate associations for your model class.
DrySQL会提取表格中的约束定义,并用它们自动生成模型类的关联。
Stereotype S1 has two attributes (a1: Integer, and a2 : Boolean), extends Class and Actor metaclasses, and has constraint profileCons1.
StereotypeS1有两个属性(a1:整型,以及a2 :布尔类形),扩展类和动作元类, 并且存在约束profileCons1。
But all we need to do to assure the constraint is obeyed in the instances is declare the chapter class in this straightforward manner.
但是为确保在实例中遵守约束,我们所需做的就是用这种简单的方式来声明chapter类。
A class level constraint has access to the bean instance rather than one of its properties and applies some constraint logic based on several properties.
类级别的约束能获取Bean实例,而不是它的某一属性,还能应用一些基于若干属性的约束。
Notice that this example includes the constraint that the new class OurNews extends an external class called ThirdPartyNews.
注意,本例包括约束,即新类OurNews继承一个叫做ThirdPartyNews的外部类。
Right off the bat, JAXB isn't going to be an option for you, as JAXB only accepts XML Schema as a constraint model for class generation.
毫无疑问,JAXB不在选择范围之列,因为它只接受XMLSchema作为约束模型来生成类。
This forces us to think about how to build applications for devices where the user experience is a first-class constraint on your design.
这就让我们把注意力集中在如何在确保一流的用户体验的前提下,为设备创建应用程序。
For example, a constraint may disallow multiple inheritance, or it may require that a class must have a particular type of attribute. This means that.
例如,一个限制可能不允许多重继承,或者是它可能需要一个类必须具备一个特殊的属性类型。
In the Other category, you can find a cheat sheet labeled Refine class models with constraint patterns, as shown in Figure 14.
在Other分类中,您可以找到标签为Refineclassmodelswithconstraintpatterns的步骤说明书,如图14所示。
Often this will lead to a proliferation of classes, in which case the constraint must be implemented in the behavior of the class-usually, but not necessarily, in the constructor.
这常常会导致类泛滥成灾,在这种情况下,约束应当在类的行为中实现,通常是在构造函数中实现,但不是必须如此。
If you own the class, you can remove the constraint or else do something to enable an implicit reference or identity conversion.
如果您拥有类,则可移除约束或执行某一操作以启用隐式引用或标识转换。
If client code tries to instantiate your class by using a type that is not allowed by a constraint, the result is a compile-time error.
如果客户端代码尝试使用某个约束所不允许的类型来实例化类,则会产生编译时错误。
For example, if you know that your generic class is intended for use only with reference types, apply the class constraint.
例如,如果您知道您的泛型类仅用于引用类型,则应用类约束。
Optimal tracking performance for a class of uncertainty systems is discussed in the presence of control energy constraint under internal model control (IMC) structure.
在内模控制(IMC)结构下,对控制能量存在约束时一类不确定系统所能达到的最优跟踪性能进行了探讨。
The robust stable bound and the state feedback controller can be obtained by solving a class of convex optimization problems with LMI constraint.
系统的稳定界和反馈控制器可以通过求解一类线性矩阵不定式约束的凸优化问题得到。
However, due to the constraint of factors like the culture, social class and capital, it is hard to be realized on themselves!
但由于受文化、社会层次和资本等因素制约,依靠自身,难于实现!
In this way we can solute ill-structured goal programming problem and think about priority class and the constraint values that are changing with the environment.
这样就可以解决目标规划中的结构不良的问题和考虑目标函数中的优先等级及右端值等随环境变化的情况。
In this paper the problem of the controllability of a class of infinite dimensional linear systems with control energy constraint is discussed.
本文讨论控制器能量受限下一类无限维线性系统的精确零能控性问题,得到了这类能控性的充分必要条件。
This paper first made a systematic analysis of the correlation features between the redundant events, including attack class constraint, spacial constraint, timing constraint.
本文首先对冗余事件的关联特征进行系统的分析,包括攻击类型关联特征、空间关联特征、时间关联特征。
应用推荐