Message type objects 信息类型
Type Objects 类型对象
automatic type deduction of objects 对象自动类型推导
reflection-type objects 反射型物体
alias data type objects 之物件匿名
one type of objects 单一规格物体
Objects as a data type 对象作为数据类型
So as well as being able to pattern match over values, such as integers, floating point Numbers and strings, we are also able to pattern match over an objects type.
所以正如能够匹配很多值一样,我们也能够匹配很多对象类型,如:整数、浮点数和字符串。
You use the factory method pattern when an application needs to create objects whose type depend on the implementation of subclasses.
您可以在应用程序需要创建其类型依赖于子类的实现的对象时,使用工厂方法模式。
Consequently, you should expect some additional latency with these type objects.
所以您需要预计这类对象的额外延迟。
What we're really doing, or I shouldn't say what we're really doing, a basic piece of what we're doing, when we talk about classes or objects, is we're doing something that Professor Guttag mentioned, we're defining an abstract data type.
或者我不应该,说我们真正要做的,当我谈到类或者对象的时候,我们在做的基本的东西,如Guttag教授提到的,就是定义一个抽象数据类型,那么这到底是什么意思呢?
应用推荐