Various fonts are declared as static constants in this class.
各种字体都在这个类中声明为静态常数。
Of course, well-practiced programmers already know you can achieve this functionality with static constants, as shown in Listing 1.
当然,熟练的程序员可以用静态常量实现这项功能,如清单1所示。
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。
Support for importing constants: This facility allows static methods and fields to be imported, avoiding the need to use fully qualified class names when accessing static members.
支持导入常量:这个特性使静态方法和字段能够被导入,这样在访问静态成员时就不必使用完全限定的类名。
The class no longer requires a method, because the constants go into static field initializers in the dex file.
这个类将不会调用方法,因为这些常量直接写入了类文件静态属性初始化中,这个初始化直接由虚拟机来处理。
Listing 1. Public static final constants.
清单1.publicstaticfinal的常量。
The type of data is returned as an integer that represents the data type. The following static fields (constants) represent the data types
数据的类型作为一个整数返回,该整数表示数据类型。
Static fields that are neither constants nor read-only are not thread-safe.
不是常数也不是只读字段的静态字段不是线程安全的。
Constants defined within modules are imported as public constant static members of a class with the same name as the original module.
在模组内定义的常数会汇入,做为与原来模组具有同样名称之类别的公用常数静态成员。
After repeated optimization simulation, a stable cell structure was obtained. The elastic constants of SU-8 photoresist were gained after analysis of the static elastic properties.
在反复进行优化模拟后,对分子模型体系进行了静态力学性能的分析,得到了SU-8胶的力学弹性常数。
Use P/Invoke to wrap the API functions, constants, and structure definitions as static members of a managed class.
使用P /调用的API函数,常量和结构的定义为静态成员的管理类。
This data includes the import address table, string constants, static global data, and so on.
此数据包括导入地址表、字符串常数、静态全局数据,等等。
The second use, value injection, is good for allowing objects not created by the container to receive framework constants. Objects using value inject must define the the static attribute.
后者,值注入,有利于允许对象不被容器创建来接收框架常量。对象用值注入必须定义静态属性。
The Modifier class provides static methods and constants to decode class and member access modifiers.
Modifier类提供了静态方法和常量来对类和成员访问修饰符进行编码。
Based upon the experimental results of LO-TO splitting, the effective charges of polar modes and the static dielectric constants are calculated.
根据LO - TO劈裂的实验结果,计算出该晶体的静态介电系数和各极化模的有效电荷。
Based upon the experimental results of LO-TO splitting, the effective charges of polar modes and the static dielectric constants are calculated.
根据LO - TO劈裂的实验结果,计算出该晶体的静态介电系数和各极化模的有效电荷。
应用推荐