第6章 类型系统
6.1 编译时类型与运行时类型
6.2 根类型Any 6.2.1 对象相等性
6.3 基本类型(Primitive Types) 6.3.1 Number: 包含整型与浮点型等 6.3.2 Char: 字符类型(Character) 6.3.3 Boolean: 布尔类型 6.3.4 String: 字符串类型 6.3.5 Array: 数组类型 6.3.6 原生数组类型
6.4 特殊类型 6.4.1 kotlin.Any 6.4.2 kotlin.Nothing 6.4.3 kotlin.Unit 6.4.4 kotlin.KClass<T>
6.5 可空类型(Nullable Types) 6.6 函数类型( Functional Types) 6.6.1 闭包类型
6.7 类型检测与转型 6.7.1 is,!is运算符 6.7.2 as运算符
6.8 类型转换
6.9 类型别名typealias
6.10 泛型