In contrast dynamically typed languages bind the type to the actual value referenced by a variable, meaning that the type of a variable can change along with the value it references.
相反的,动态类型的语言则是根据变量所引用的值来绑定类型,这意味着变量的类型可以随着它引用的值改变而改变。
Haskell is statically typed, so once you assign a variable to a value, the variable always holds the same type.
Haskell是静态类型化的,所以一旦给变量分配了值,那么变量就会一直维持相同的类型。
Lua variables are not strongly typed; you can check the type of a value, but there is nothing preventing a variable's type from changing over time.
Lua变量不是强类型的;虽然可以检查一个值的类型,但是无法阻止一个变量的类型随着时间而改变。
The value of 1 logs only the KDB commands typed at the prompt.
值1表示只记录在提示时输入的kdb命令。
Do not change atomic types (string, integer, etc.) if queries are strongly typed or have value comparisons.
如果查询是强类型的或者需要进行值比较,不要改变原子类型(string、integer等)。
Recall that Blue is dynamically typed, which means you simply associate a variable with a value (variable definition is not required).
Blue 的调用是动态分类的,这意味着您可以简单地将一个变量与一个值关联(不要求定义变量)。
Manually cast them or (better yet) write new expressions that use the typed value for real.
可以手工转换或者(最好)编写新的使用这些类型的表达式。
As I mentioned earlier, every query expression is generically typed to denote the type of the value the expression evaluates to.
如前所述,每个查询表达式都是泛型的,以表示表达式计算的值的类型。
Otherwise you either don't define any association or just define a value-typed property in the child POJO to represent the parent POJO's ID property (similar argument for the other direction).
另外,你要么不定义任何关联,要么在子pojo中定义一个值类型的属性来表示父pojo的ID(另一个方向也是类似的)。
If the value is known, it can just be typed into the editor; if not, the selection component can be used to select and search, after which the value is populated back into the editor.
如果值是已知的,只要将其输入编辑器即可;否则,可使用选择组件进行选择和搜索,之后将得到的值填充到编辑器中。
Each holder class has a constructor from an instance, a default constructor, and has a public instance member (value), which is the typed value.
每个holder类都有一个来自实例的构造函数,一个默认的构造函数,以及一个公有的实例成员value,它是一个有类型的值。
Under the Data Types node, create a new BO named StrObj with a string-typed attribute value named val.
在Data Types节点下,创建一个新的名为StrObj的BO,并将string - typed属性值命名为val。
A value from the input document typed as xs: untypedAtomic is limited to the same four values; all other values are type errors.
输入文档中xs:untypedatomic类型的值也只能是这四个,其他都会出现类型错误。
PreferenceStore stores the name-value pair you typed in.
PreferenceStore 将存储您键入的名称-值对。
Note that a typed literal is not used for the date value in this example.
注意:在这个例子中没有用类型文字作为日期的值。
However, the original value in that cell will be replaced with what you typed.
然而,原来的价值在细胞将取代您输入的内容。
The object in turn exposes information about browser capabilities using strongly typed properties and a generic name-value dictionary.
该对象随后使用强类型属性和泛型名称值字典公开有关浏览器功能的信息。
A novel YWY-typed organic phosphorus corrosion inhibitor was synthesized and researched by weight corrosion value, potentiodynamic method and SEM under the condition of bitter salt water.
研制了一种新型YWY有机膦缓蚀剂,应用重量法、电化学方法及扫描电镜等手段对合成的有机膦缓蚀剂ywy在苦咸水条件下的缓蚀性能及其缓蚀机理进行了研究。
A novel YWY-typed organic phosphorus corrosion inhibitor was synthesized and researched by weight corrosion value, potentiodynamic method and SEM under the condition of bitter salt water.
研制了一种新型YWY有机膦缓蚀剂,应用重量法、电化学方法及扫描电镜等手段对合成的有机膦缓蚀剂ywy在苦咸水条件下的缓蚀性能及其缓蚀机理进行了研究。
应用推荐