英漢例句雙語(yǔ)例句For example, the State pattern often harmononizes with the Flyweight and Singleton patterns.例如,狀態(tài)模式經(jīng)常與Flyweight 和 Singleton 模式相互協(xié)調(diào)。For example, according to the pattern catalog, the State pattern is often related to Flyweight and Singleton[GoF].例如,通過(guò)模式目錄, State 模式經(jīng)常涉及到Flyweight 和 Singleton[GoF]。One optimization you might make in some circumstances is to use the flyweight design pattern to create only one different object for each different value of a type rather than for each different type.某些情況下,可以採(cǎi)用的一種優(yōu)化措施是使用 flyweight 設(shè)計(jì)模式,爲(wèi)類(lèi)型中每個(gè)不同的值創(chuàng)建單獨(dú)的對(duì)象,而不是爲(wèi)每個(gè)不同的類(lèi)型創(chuàng)建單獨(dú)的對(duì)象。flyweight pattern更多例句詞組短語(yǔ)短語(yǔ)FlyWeight Design Pattern 享元模式The Flyweight Pattern 享元模式Design Pattern - Flyweight 享元模式flyweight pattern更多詞組