initializers 中文意思是什麼

initializers 解釋
初始設置軟體
  1. Only integrals and enums that are static and const can have initializers inside a class ; the initializing expression must be a const expression

    只有為static且為const的整型和枚舉可以在類內有初始值設定項;初始化表達式必須是常數表達式。
  2. This idiom derives its thread safety from the fact that operations that are part of class initialization, such as static initializers, are guaranteed to be visible to all threads that use that class, and its lazy initialization from the fact that the inner class is not loaded until some thread references one of its fields or methods

    這個idiom由屬于類初始化的操作(如靜態初始化器)保證對使用這個類的所有線程都是可見的這一事實衍生其線程安全性,內部類直到有線程引用其欄位或者方法時才裝載這一事實衍生出遲緩初始化。
  3. However, in the context of attribute initializers and assignments the named instances of the expression s type are introduced into the lexical scope with weaker visibility than variables and attributes and may be referenced with their unqualified names, for example

    然而,在屬性初始化程序和賦值的上下文中,表達式類型的命名實例被引入到了詞法作用域lexical scope可見性弱於變量和屬性,並可以通過使用它們的無限定名unqualified names引用這些命名實例:
  4. Structure variable declarations cannot specify initializers or initial sizes for arrays ; class variable declarations can

    結構變量聲明不能指定初始值設定項或數組初始大小,而類變量聲明可以。
  5. If the local variable declaration includes multiple declarators, the initializers must all have the same compile - time type

    如果局部變量聲明包含了多個聲明符,這些聲明符必須具備同樣的編譯期類型。
  6. 4 execute the explicit instance variable initializers

    執行明確的物件變數初始化。
  7. Compile - time constants are required for cases such as array bounds, case expressions, or enumerator initializers

    需要編譯時常數的情況包括數組界限、 case表達式或枚舉數初始值設定項。
  8. Is only valid in local variable initializers

    僅在局部變量的初始值設定項中有效。
  9. Class initializers are also available through the

    類初始值設定項還通過
  10. However, static fields can have field initializers

    但是,靜態欄位可以有欄位初始值設定項。
  11. Gets the initializers with which to initialize the array

    獲取用來初始化數組的初始值設定項。
  12. Enumerators can have initializers to override the default values

    枚舉數可以具有重寫默認值的初始值設定項。
  13. Phase, any static initializers contained within a class are executed

    階段,類別中包含的靜態初始化器都被執行。
  14. Field initializers are not allowed on instance fields in value types

    值類型中的實例欄位上不允許欄位初始值設定項。
  15. Object initializers, which ease construction and initialization of objects

    對象初始化器,簡化了對象的構造和初始化。
分享友人