switch支持部分基本数据类型(primitive data types),如:byte、short、int、long、char;不支持boolean、float、double。
基于20个网页-相关网页
Primitive System Data Types 原始系统数据类型
EasyMock has similar methods for the primitive data types.
EasyMock为基本数据类型提供相似的方法。
Listing 4 shows the primitive data types we'll write to the record store.
清单4显示了我们将会写入到记录存储中的基本数据类型。
Objects typically are larger and somewhat slower to process than primitive data types.
与基元数据类型相比,对象通常更大,处理速度也会有些慢。
应用推荐