java - 反射和元数据之间的区别

标签 java reflection metadata

谁能帮我解释一下: Java 中的Reflectionmetadata 有什么区别? 上次我听到很多人问得越来越多......

最佳答案

Reflection (computer programming) - wikipedia 有更好的解释

In computer science, reflection is the ability of a computer program to examine (see type introspection) and modify the structure and behavior (specifically the values, meta-data, properties and functions) of the program at run-time.

反射是一种在运行时提取程序元数据的技术。

<小时/>

什么是元数据?

Metadata - wikipedia对此也有解释。

Metadata is "data about data".

该术语含糊不清,因为它用于两个根本不同的概念(类型)。

  • 结构性元数据是关于数据结构的设计和规范,更恰本地称为“关于数据容器的数据”;

  • 描述性元数据,另一方面,是关于应用程序数据的单个实例,即数据内容。

关于java - 反射和元数据之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24969101/

相关文章:

git - jekyll GitHub元数据错误

java - .reversed() 无法在 blueJ 中编译

java - MongoDb 中文档的特定字段到 Java 对象

c# - 如何使用反射获取静态成员的 System.Type?

java - Object in Object to HashMap with reflection

android - 使用Kotlin(Android)从Firebase存储中读取自定义元数据

java - 使用 JDBC 检查 Sybase 中的列是否自动递增

java - 无法从eclipse中删除tomcat服务器

如果系统属性值包含空格,java getInputArguments() 返回尴尬的结果

c# - c#中构造函数参数的名称