gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-30 03:48:34 25 4
gpt4 key购买 nike

谁能帮我解释一下: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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com