A WORD, A WORLD
singleton
英 'sɪŋg(ə)lt(ə)n 美 'sɪŋɡltən
释义
- n.
- 一个, 独身
在例句中理解 1 句
Since there is only one singleton instance, any instance fields of a singleton will occur only once per class, just like static fields.
由于只有一个单实例,单例对象的域只会在一个类中出现一次,就像静态域一样。