Java中,数据类型分为基本数据类型(或叫做原生类、内置类型)和引用数据类型。原生类是指基本数据类型。
显微镜下可见的有单细胞原生类寄生虫,例如阿米巴和孢子虫,真菌及细菌,这些均能感染动物及植物。
Microscopic parasites include single-celled protozoans such as amoebas and sporozoa, fungi, and bacteria, which can infect animals and plants.
TypeDescription 类只是个抽象基类,其中定义了处理三种类型的方法:原生类型、数组和类实例。
The TypeDescription class is just an abstract base class with methods defined for dealing with three kinds of types: primitives, arrays, and instances of classes.
清单2的代码使用内部的PrimitiveTypeDescription和arraytypedescription类直接处理原生类型和数组类型。
The Listing 2 code handles primitive and array types directly, using the inner PrimitiveTypeDescription and ArrayTypeDescription classes.
应用推荐