行是知之始,知是行之成。这篇文章主要讲述What is “passive data structure” in Android/Java?相关的知识,希望能为你提供帮助。
From the android developer web link:
http://developer.android.com/reference/android/content/Intent.html, you can find that it says "It (Intent) is basically a passive data structure holding an abstract description of an action to be performed." But I don‘t understand what is "passive data structure"?
A passive data structure (opposite of
active data structure, or
functional data structure) is one that is managed exclusively by external threads. That is to say, it does not have some associated thread which performs operations on it.
Basically, it‘s like a container of information;
you create it, set all its information, and it just exists to be accessed by other processes (in Android,
Activity
objects, usually). Hence, it is not actively being access (so it‘s not "active"), and it is not being operated on (not "functional"), so it should be considered passive.
【What is “passive data structure” in Android/Java?】https://stackoverflow.com/questions/12452930/what-is-passive-data-structure-in-android-java
推荐阅读
- Mac下搭建appium自动化测试环境
- Android----- 改变图标原有颜色 和 搜索框
- 哪位大兄弟有用 cMake 开发Android ndk的
- APP性能测试(启动时间)
- Android APP 调试过程中遇到的问题。
- CSAPP 3e: Bomb lab (secret_phase)
- APP性能测试(CPU)
- Cocos2dx 3.10版编译安卓报卷标错误
- springboot的application.properties与.yml的区别