元表是普通的Lua表,定义了原始值在某些特定操作下的行为。 ... Set = {} local mt = {} -- 集合的元表-- 根据参数列表中的值创建一个新的集合function Set.new(l) ...
確定! 回上一頁