Android数据结构优化
Android数据结构优化教程
ArrayList与LinkedList ArrayList查找快,增删慢,内部为数组,连续空间,地址带顺序查找修改快,增加,删除底层为System.copy操作,而copy为循环赋值,末尾添加删除不受影响。LinkedList增删快,查找慢,内部操作no[详细]
2023-01-31 10:28 分类:开发Is there a better way than a sequence of if's to handle events?
I rece开发者_StackOverflowntly ran across several objects implemented to handle events with a hard coded mapping using this pattern:[详细]
2022-12-25 05:11 分类:问答