最简单的一种是命名类。
坚持使用大写驼峰命名法来命名类。
坚持使用大写驼峰命名法来命名类。
坚持使用大写驼峰命名法来命名类。符号名匹配它所在的文件名。
Do use upper camel case for class names. Match the name of the symbol to the name of the file.
具体地说,任何给定对象的MRO(相对于某个特定方法)仅仅是class属性(如果有的话)中的命名类向量。
Specifically, the MRO of any given object (relative to a particular method) is simply the vector of named classes, if any, in its class attribute. For example.
在代码编辑器(同时它也是文本编辑器)中,您可以使用阿拉伯语或希伯来语命名类、函数、变量、属性、字符串文本、特性,等等。
In the code editor (which is also the text editor), you can use Arabic or Hebrew to name classes, functions, variables, properties, string literals, attributes, and so on.
这些受体至少有两类,分别被命名为A1和A2。
There are at least two classes of these receptors, which have been designated A1 and A2.
这个包中包含所有构成命名权限组件的类和接口。
This package contains all the classes and interfaces that comprise the naming authority component.
它仅仅作为模式输入参数而使用,以用于命名接口和类。
This is only used as a pattern input parameter for naming the interfaces and classes.
尽管名称空间能够帮助您组织类并避免命名约定,但其缺点是名称过长。
Although namespaces help you organize classes and avoid naming conventions, they do have the downside of longer names.
图10显示术语表,其中包含来自海岸警备队数据元素命名标准的类单词列表、基本单词示例和修饰词。
Figure 10 shows the glossary created using the class word list, and sample prime words and modifiers from the Coast Guard Data Element Naming Standards.
使用不同的包名,可以避免不同版本之间的类命名冲突。
Using different package names, it is possible to avoid class naming conflicts between multiple versions.
在一个经常使用的约定中,任何以下划线开始命名的类都表示没有相应标记的结构。
In one convention that's often used, any class that's named with an initial underscore represents a structure that does not have a corresponding tag.
用户更新的HTML输入字段的智能命名消除了操作类中的复杂编码。
Intelligent naming of HTML input fields updated by users negates writing complex code in the action class.
给包和类命名。
(将这个类命名为ReadOnlyInstant可能更好,我认为这才是设计者需要传达的意思)。
It might have been better named ReadOnlyInstant, which I believe is what the designers intended to convey.
在默认情况下,Morphia使用类名称来命名集合。
Morphia, by default, USES the class name to name the collection.
import语句可以导入多个类并可以重命名它们。
The import statement can import multiple classes and optionally rename them.
还可以使用许多命名字符类来确定您的平台和国家语言。
You can also use a number of named character classes that will be accurate for your platform and national language. Some examples
注意用于接口的命名约定(bean的类名加FinderHelper)。
Notice the naming convention (bean class name plus FinderHelper) used for the interface.
命名很恰当的Preferences类提供操作首选项的基本框架。
The aptly named Preferences class provides the basic framework for working with preferences.
设计时,HttpApplication对象查找一个按请求ASPX文件命名的类。
By design, the HttpApplication object looks for a class named after the requested ASPX file.
表的命名约定在Style类中定义。
The naming conventions for a table are defined in a Style class.
objectify将子元素节点直接作为节点的属性进行连接(每个节点都是一个根据标记名命名的定制类)。
Gnosis.xml.objectify attaches subelement nodes directly as attributes of nodes (every node is of a custom class named after the tag name).
对属性和类重命名(想要使其正常工作,需要编写一些脚本)
Renaming a property or class (some scripting is required for this to work properly)
另外,你也可以任意命名你的应用程序委托类。
Additionally, you can name your application delegate class whatever you want.
例如,我喜欢根据类的命名空间在文件系统(和项目)中安排文件。
For instance, I like to lay out the files in the file system (and project) according to the namespace of the class.
严格遵守包和类的命名约定和大小写约定。
Rigorously follow package and class naming and capitalization conventions.
类装入器的命名空间是类装入器和它装入的所有类的组合。
A class loader namespace is a combination of a class loader and all the classes that it has loaded.
比如,您可以改变uml包的名称,生成另外命名的文件夹;您也可以将一个UM l类映射为另外命名的文件。
Just like you can rename a UML package in the mapping model to generate a differently named folder, you can map a UML class to a differently named file.
应用推荐