Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
ArrayList中remove(int index)方法中为什么不使用fastRemove方法?
今天在看 ArrayList 源码时 xff0c 我发现了一个疑问 ArrayList 有两个删除的方法分别是 remove int index 和 remove Object o 方法 span class token keyword p
ArrayList
remove
int
index
fastremove
cocos2d-remove和fastremove问题详解
在用CCARRAY FOREACH的时候 Ref obj CCARRAY FOREACH obj array 当你在上面的宏里面执行remove的时候 xff0c 在这一帧里面 头指针 xff0c 和尾指针是不动的 所以当你用了array
cocos2d
remove
fastremove
问题详解