谁能帮我解释一下:
Java 中的Reflection
和metadata
有什么区别?
上次我听到很多人问得越来越多......
最佳答案
在 Reflection (computer programming) - wikipedia 有更好的解释
In computer science,
reflection
is the ability of a computerprogram
to examine (see type introspection) and modify the structure and behavior (specifically thevalues
,meta-data
,properties
andfunctions
) of the program atrun-time
.
反射
是一种在运行时提取程序元数据
的技术。
什么是元数据?
Metadata - wikipedia对此也有解释。
Metadata
is "data about data".
该术语含糊不清,因为它用于两个根本不同的概念(类型)。
结构性
元数据是关于数据结构的设计和规范,更恰本地称为“关于数据容器的数据”;描述性
元数据,另一方面,是关于应用程序数据的单个实例,即数据内容。
关于java - 反射和元数据之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24969101/