go top

metatable

  • n. 元表:在计算机编程中,元表是一种表(通常是哈希表),用于存储另一个表的元数据。它们通常用于实现面向对象编程的特性,如继承和多态。

网络释义英英释义

  元表

该影射源会针对每个类,创建一个元表MetaTable),用来描述表与实体之间的影射。在创建这个元表的时候,通过反射,检查 DataContext 是否有对应实体类的增删改的扩展方法,如果有...

基于66个网页-相关网页

  是否有

... Metatable,并且检查 Metatable是否有 __add域。如果找到则调用这个 ...

基于1个网页-相关网页

Metatable

  • abstract: A metatable is the section of a database or other data holding structure that is designated to hold data that will act as source code or metadata. In most cases, specific software has been written to read the data from the metatables and perform different actions depending on the data it finds.

以上来源于: WordNet

双语例句

  • The functions setmetatable() and getmetatable() modify and query an object's metatable, respectively.

    函数 setmetatable() getmetatable() 分别对对象的元表进行修改查询

    youdao

  • The keys of the metatable are called events; the values (in other words, the functions) are called metamethods.

    元表称为事件;值(而言之就是函数)称为方法。

    youdao

  • The function String() takes a string, string, wraps it in a table ({value = s or ''}), and assigns the metatable mt to the table.

    函数 String() 接收字符串 string,将其封装到一个({value = s or ''})中,元表 mt 值给这个表。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定