List 相关操作 按索引取元素 取列表的一部分 查找元素位置 线性查找 在有序列表中二分查找 Comparator 二分搜索 比较函数二分搜索 List 写操作 添加 更新 删除 排序 List 相关操作 List 是 Kotlin 标准库中最受欢迎的集合类型。对列表元素的索引访问为 List 提供了一组强大的操作。 ...
Map Specific Operations Retrieving keys and values Filtering plus and minus operators Map write operations Adding and updating entries Removing entries Map Specific Ope...
Kotlin 符号处理 API Overview How KSP looks at source files SymbolProcessorProvider : the entry point Resources Supported libraries Kotlin 符号处理 API Kotlin Symbol Processing (KSP...
Qualifying By Name Qualifying By Name To qualify by name, use the Named annotation. For example, consider the following classes: public interface Engine { ( 1 ) ...
Binding Annotations Binding Annotations All of the binding annotations support customization of the name of the variable being bound from with their name member. The followin...
Qualifying By Name Qualifying By Name To qualify by name you can use the Named annotation. For example, consider the following classes: public interface Engine { ( 1 ...
Retrieving Collection Parts Slice Take and drop Chunked Windowed Retrieving Collection Parts The Kotlin standard library contains extension functions for retrieving parts o...