请输入您要查询的单词:

 

单词 mixin
释义

mixin

See also: míxìn and mix-in

English

Etymology

mix + in

Pronunciation

  • IPA(key): /ˈmɪksɪn/

Noun

mixin (plural mixins)

  1. (object-oriented programming) An uninstantiable class that provides functionality to be inherited by a subclass.
    Traits are somewhat between an interface and a mixin, as an interface contains only method signatures, while a trait includes also the full method definitions; on the other side mixins include method definitions, but they can also carry state through attributes, while traits usually don't.

Synonyms

  • abstract base class[1]

See also

  • interface
  • trait

References

  1. “Mixin”, in (please provide the title of the work), English Wikipedia, accessed 2012-05-15: “Mixins are synonymous with abstract base classes.”

Anagrams

  • Minix, Xinmi, inmix
随便看

 

国际大辞典收录了7408809条英语、德语、日语等多语种在线翻译词条,基本涵盖了全部常用单词及词组的翻译及用法,是外语学习的有利工具。

 

Copyright © 2004-2023 idict.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/8/1 2:01:36