码迷,mamicode.com
首页 > 移动开发 > 详细

What is “passive data structure” in Android/Java?

时间:2017-09-19 11:07:10      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:cti   ati   roc   objects   .com   form   set   bst   http   

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.

https://stackoverflow.com/questions/12452930/what-is-passive-data-structure-in-android-java

What is “passive data structure” in Android/Java?

标签:cti   ati   roc   objects   .com   form   set   bst   http   

原文地址:http://www.cnblogs.com/jianglijs/p/7549893.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!