Listing 1. Public static final constants.
清单1.publicstatic final的常量。
Why static final variables are accepted in inner classes?
为什么最终的静态变量是接受内心的架势?。
All the flag values are static final ints and are defined in the SWT class in the org.eclipse.swt package.
所有这些参数值都是static finalint,并且都是在or g. eclipse . swt包的swt类中定义的。
Each JTCEvent subclass will define static final values for the major and minor fields that represent its purpose.
每个JTCEvent子类都会为表示其用途的major和minor字段定义静态最终值。
The guide recommends you use a static final variable to create the object once at application startup and then get this object when needed.
该指南建议您在应用程序启动时使用一个静态最终变量来创建这个对象,然后根据需要获取该对象。
Since it is thread safe by design, you might cache it in a public static final variable, or wrap it in a singleton pattern after creation for later access.
因为根据设计它是线程安全的,创建它之后可以把它缓存在一个公共静态最终变量中,或者包装在单实例模式中以供以后访问。
Extract constant is similar to Extract Local Variable, but you must select a static, constant expression, which the refactoring will convert to a static final constant.
ExtractConstant与ExtractLocalVariable相似,但是您必须选择静态常量表达式,重构工具将会把它转换成静态的final常量。
Static methods cannot be overridden but can be hidden if they are not final (Read about Overriding vs Hiding here).
静态方法不能被覆盖,但如果它不是决定性的则可以被隐藏。
Constants - final static fields and occasionally final local variables - are written in all uppercase with underscores separating the words, as in MAX_CONNECTIONS.
常量—终态静态字段和临时终态本地变量—全部适用大写字母,并以下划线分隔各词,如MAX_CONNECTIONS。
If you're using a static approach, you should ensure that the worst an attacker could do won't invalidate some assumption, and a few checks on the final result would be a good idea too.
如果使用静态方法,应该确保攻击者能够做的最糟糕的事情不会使得预先的假设无效,而且检查最终结果也是一个好主意。
Similarly, the Serialization detector will trigger if the field serialVersionUID isn't final, isn't long, or isn't static.
类似地,如果域serialversionuid不是final,不是long,也不是static,就会触发serialization检测器。
Yes, unless it's final, but that change affects the single static variable that is seen by all the instances.
是的,除非它是最后的,但改变影响单一的静态变量被所有实例见。
The criteria for control of final pressure on static piles in soft soil area is a problem frecuently discussed.
软土地区静力压桩的终压控制标准是一个探讨较多的课题。
In a static load experiment, such a method can be used to make estimation in the case that exerted final load can is not up to ultimate bearing capacity.
在静载荷试验中,由于种种原因终止荷载未达到极限荷载时,可用上述方法进行推测。
The path which is determined by static parameters is named static path, while static path becomes final path after the revision due to dynamic parameters.
由静态参数决定的路由称为静态路由,静态路由经动态参数修正以后的路由称为最终路由。
This static will always be stored in your body until you touch the lower potential than you, such as notebook computers ah, MP3 like ah, the final result, I do not have to say.
这种静电会一直会存储在你的身体里,直到你摸到了什么比你电位低的物品,例如笔记本电脑啊、MP3啊一类的,最后的结果就不用我说了。
According to the Nanning many static pressure pile project's actual measurement, obtained the single pile limit supporting capacity and the final pressure relationship through the fitting analysis.
根据南宁市多个静压桩工程的实测,通过拟合分析得到了单桩极限承载力与终压力的关系式。
According to the Nanning many static pressure pile project's actual measurement, obtained the single pile limit supporting capacity and the final pressure relationship through the fitting analysis.
根据南宁市多个静压桩工程的实测,通过拟合分析得到了单桩极限承载力与终压力的关系式。
应用推荐