mutable
常考释义
1.可变的;会变的that can change; likely to change
The last but not the least, the existence of various thoughts, behaviors and values is the tone of a mutable society.
多样化的思维、行为模式与价值观,这便是多元社会的色彩交织。
The reason is simple: since the transient is mutable, using it from different threads would be dangerous and require synchronization.
原因很简单:因为transient是可变的,在不同的线程中使用它将会非常危险的,所以需要同步。
A list can be changed after it is constructed (we say that it is mutable), whereas a tuple cannot be changed (immutable).
一个列表创建之后可以被改变(我们说它是不定的),然而一个元组不能被改变(固定的)。
Methods you call shouldn't depend on the mutable state of any object and should return fully reproducible and predictable results.
您所调用的方法不应依赖于任何对象的易变状态,而应返回可再生产、可预测的结果。
In hindsight, the decision to make Point mutable turned out to be costly to program clarity and performance.
依后见之明,使Point成为可变的这个决定被证明对于程序清晰性和性能是昂贵的代价。
Thus it has no loops and no mutable variables .
因此这种语言没有循环,也没有可变的变量。
Surprising as it may sound, typedef is a storage class specifier, just like auto, extern, mutable, static and register.
这种说法是不是有点令人惊讶,typedef就像auto,extern,mutable,static,和register一样,是一个存储类关键字。
In FP, functions have no side effects and variables are immutable, while in OOP, mutable state and side effects are common, even encouraged.
在FP里,函数没有副作用,变量都是不易变的。而在OOP中,可变状态和副作用都十分常见,甚至是被鼓励的。
Gemini: The Air element of Gemini brings communication, intellect and speed, Study tips: Your mutable motivation brings adaptability.
双子星座:双子星座的空气元素带来通信、智力和速度,研究技巧:您可变的刺激带来伸缩性。
My penance, constant in degree, is mutable in kind: one of its variants is tranquillity.
我的赎罪,程度不变,但种类一直在变:其中一种便是平静。
Agents provide a layer of indirection between the holder of a variable and the mutable state itself.
Agents在变量持有者与可变状态本身之间提供一层间接关系。
For mutable objects, the answer is not always so clear.
对于可修改对象来说,答案并不总是如此清楚。
Systems designed with physical level technologies usually rely on mutable objects residing at various levels of an architecture.
采用物理层技术设计的系统通常依赖于驻留在架构不同层次上的可变对象。
The Air element of Gemini brings communication, intellect and speed. Your mutable motivation brings adaptability.
风向星座的特质让双子座具有出色的沟通能力、智慧和速度。同时,你的多变让你更善于适应。
Do not assign instances of mutable types to read- only fields .
不要将可变类型的实例指定给只读字段。
Also, minimize mutable state in your applications and consider NoSQL data stores to improve the scalability of your applications.
此外,应最大限度地减少应用程序中的可变状态,并考虑使用NoSQL数据存储,以提高应用程序的可伸缩性。
If the member is security- sensitive , make a private copy of the mutable object and use the copy for validation and processing .
如果成员是安全敏感的,则制作可变对象的私有副本并使用该副本进行验证和处理。
But considering the original Person also had no synchronization code around those mutable setters, the Scala version is safer to use.
但是,由于原始的Person没有与这些可变setter相关的同步代码,所以Scala版本使用起来更安全。
Field, the object to which it refers may still be mutable.
字段,而它所引用的对象仍可能是可变的。
While mutable containers are very flexible, their dynamic nature can result in a performance hit.
虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。
以上图片仅供学习交流使用,版权归原作者所有,如有侵权,请与我方联系