课程大纲
介绍
复习 Kotlin 基础知识
在 Kotlin 中使用高级功能
-
在 Kotlin 中使用嵌套函数重用功能
在 Kotlin 中使用中缀表示法调用函数
在 Kotlin 中声明匿名函数
在 Kotlin 中使用内联修饰符提高效率
在 Kotlin 中使用高级函数时实现返回和本地返回
在 Kotlin 中实现尾递归进行优化
在 Kotlin 中使用运算符重载
在 Kotlin 中使用 Lambda 和接收器对 DSL 创建限制
调用 Kotlin 中的实例
在 Kotlin 中使用函数构造
功能组成
咖喱
其他结构
在 Kotlin 中实现字段 在 Kotlin 中使用 “lateinit” 修饰符 了解 Kotlin 中的嵌套类和内部类 在 Kotlin 中使用伴随对象定义“静态方法” 在 Kotlin 中隐藏类构造函数 将类标记为 Kotlin 中的密封 在 Kotlin 中使用类型别名 类 Kotlin 的高级功能摘要
-
在 Kotlin 中实现委派
理解 Kotlin 中成员委派的概念 在 Kotlin 中将成员函数委派给另一个类 在 Kotlin 中委派属性以提高代码重用效率 在 Kotlin 中使用内置委托属性 在 Kotlin 中委派本地属性以进行代码重用 在 Kotlin 中的类中实现扩展属性 Kotlin 中授权不同方面的总结
-
深入了解 Kotlin 中的泛型
了解通用约束 了解泛型中的方差和不变性 在 Kotlin 中使用“out”修饰符表示泛型中的协方差 在 Kotlin 中表示逆变 探索 Kotlin 中类型投影和星形投影的概念 Kotlin 中的高级泛型摘要
-
Kotlin 中的元编程
反射概述 将 Java 反射与 Kotlin 一起使用 使用反射 API 使用 Kotlin 的 Reflection API 处理类型擦除 Kotlin 在 Kotlin 中使用 Reified 泛型 在 Kotlin 中定义自定义注释 Kotlin中的元编程和内省技术总结
-
在 Kotlin 中执行异步 Programming
了解异步编程的问题 在 Kotlin 中实现异步编程和协程 使用协程在 Kotlin 中实现 Async 和 Await 在 Kotlin 中实现 Yield 了解协程相对于 Reactive 扩展的优势 Kotlin 中的协程总结
-
总结和结论
要求
- 了解 Kotlin 的基本原理
观众
- 有兴趣深入了解 Kotlin 编程的开发人员
客户评论 (1)
A format - lot of new info, but it felt pretty understandable and comfortable to learn, most of it I managed to remember and use when necessary at the next topics.