mixin 中文意思是什麼

mixin 解釋
密信
  1. Classes inherit from the " mixin class

    類從「 mixin類」中繼承
  2. Raymond, your bartender ' s gonna be mixin ' up a little love potion

    雷蒙德,你酒保要調一杯「愛」之酒
  3. A " mixin class " is an interesting concept, and is often a good design choice. a class like

    「 mixin類」是個有趣的概念,也常常是個很好的設計選擇。
  4. However, unlike an abstract class, a mixin does not try to contain the framework for a child

    )然而,與抽象類不同的是, mixin並不試圖包括子類的框架。
  5. Like an abstract class, a mixin is unlikely to be instantiated directly this is not as much a matter of prohibition as usefulness - i do not raise

    和抽象類相似, mixin類不能直接被實例化(其有效性與禁止不同,在mixin中我並沒有提出
  6. You can think of a mixin as a kind of mashup for a component ; it combines the behavior of the component with the behavior of the mixin, and bundles it all in one place

    你可以把混合組件看作一類柔和在一起的組件,他結合組件行為和混合組件行為,並且把他們捆在一處。
  7. In the other approaches, new methods are added via annotations or xml by specifying that a class extends an additional mixin class and inherits those additional members

    而在其他技術中,則要指定一個類,擴展額外的混合類並繼承那些額外的成員,通過注釋或xml添加新方法。
  8. Mixins may have persistent fields, but currently, this is not implemented perfectly ( there is a potential for a name clash between a mixin and the component or another mixin )

    混合組件可以有持久化屬性,但是目前,這沒有完全被實現(混合組件和組件或和其他混合組件可能存在命名沖突) 。
分享友人