immutable
英 [ɪˈmjuːtəbl]
美 [ɪˈmjuːtəbl]
adj. 不可改变的; 永恒不变的
复数:immutables
BNC.20103 / COCA.18955
牛津词典
adj.
- 不可改变的;永恒不变的
that cannot be changed; that will never change
柯林斯词典
- ADJ 永远不变的;永恒的
Something that isimmutablewill never change or cannot be changed.- ...the eternal and immutable principles of right and wrong.
永恒不变的对错法则
- ...the eternal and immutable principles of right and wrong.
英英释义
adj
- not subject or susceptible to change or variation in form or quality or nature
- the view of that time was that all species were immutable, created by God
双语例句
- As immutable sequences, both tuple and string objects can't be modified once they're created.
作为不可变的序列,tuple和string对象在创建之后便无法修改。 - Immutable objects are also automatically thread-safe and have no synchronization issues.
不可变对象也是自动线程安全的,不存在同步问题。 - Immutable anonymous types in C# and VB work the same way.
C和VB中的不可变匿名类型完全相同。 - In this article, I introduced the Python string, which is an immutable sequence of characters.
在本文中,我介绍了Python字符串,它是一种不变的字符序列。 - We should design the language so that the default case is an immutable value.
我们设计的语言在默认情况下应该是不变的值。 - God is immutable, incapable of change on the levels of God's essence and character.
上帝是永远不变的,上帝的本质和特征是无法改变的。 - Thus, you should never have a no-argument constructor for an immutable class.
因此,您永远都不该为一个不可变类提供一个无参数的构造函数。 - One advantage of immutable classes is that they are thread-safe.
(不可变类的一个优点就是它们是线程安全的)。 - Values and attitudes are not immutable, but are likely to change.
价值观和态度不是一成不变的,而是很可能改变。 - Because changes only occur upon construction, immutable classes make it trivial to write unit tests.
因为变化只会发生构造函数中,因此不可变类会将编写单元测试变成了一件微不足道的事情。
