Kent Beck describes a mock object as a testing object, one that implements a fake version of an expensive or complicated resource by answering constants.
KentBeck将模拟对象描述为测试对象,该对象可以使用常量进行响应,从而实现开销大或复杂的资源的模仿版本。
An intrinsic object that provides basic mathematics functionality and constants.
提供基本数学函数和常数的内部对象。
There are a number of considerations (versioning, transient objects, Enum constants, etc.) when using object serialization, so I would suggest you do some reading about the subject.
有多方面的考虑(版本控制,瞬时对象,枚举常量时,使用对象序列化等),所以我建议做一些阅读的主题。
Also, as with object literals, the elements in array literals can be arbitrary expressions and need not be restricted to constants.
而且,与数据直接量相同,数组直接量中的元素不必仅限于常量,它可以是任意的表达式。
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
把一个或更多列举型别常数的名称或数字数值的字串表示转换为一个对等列举型别物件。
Standard constants and tools for placing an object within a potentially larger container.
用于在可能更大的容器中放置对象的标准常量和工具。
Standard constants and tools for placing an object within a potentially larger container.
用于在可能更大的容器中放置对象的标准常量和工具。
应用推荐