It is very natural to use the class literal as a factory object, which can then be used by reflection.
非常自然的使用类字面量作为工厂对象,这些能够被反射使用。
After the refactoring, all USES of that number or string literal in the class refer to that field, instead of the number or string literal itself.
在重构后,所有对这个类中的数字或字符串文字的使用都将指向该字段,而不是指向数字或字符串文字本身。
In the scenario, special processing for the classname element might generate a literal "class" label in the output to save some typing and produce consistent labels.
在该方案中,classname元素的特殊处理可能会在输出中生成一个文字“class”标签以节省一点输入并生成一致的标签。
For example, using the document-literal encoding imposes wrapped versions of each method class, and that, in turn, creates additional manageability and maintainability issues.
例如,使用文档文字编码利用了每个方法类的封装版本,并造成了额外的可管理性与可维护性的问题。
The simplest character class is a single character, which is just included in the pattern as a literal.
最简单的字符类就是单个字符,它在模式中只是一个字。
The simplest character class is a single character, which is just included in the pattern as a literal.
最简单的字符类就是单个字符,它在模式中只是一个字。
应用推荐