immutable
常考释义
1.不可改变的;永恒不变的that cannot be changed; that will never change
These interfaces are intended to represent views into a collection, but they do not ensure the collection itself is immutable.
这些接口是用来表示针对某集合的一些视图,但是接口并不确保该集合本身是不变的。
When writing a class, it is always worthwhile to ask yourself whether this class could be effectively implemented as an immutable class.
在编写类时,问问自己这个类是否可以作为不变类有效地实现,总是值得的。
Round and round here went the enormous revolutions of the dark colossal water- wheel , grim with its one immutable purpose .
那只黑黑的大水车轮转来转去转个不停,象是它有一种不可改变的可怕的意图。
There's no doubt that the restriction to only capturing immutable state from the lexical context is quite irritating to programmers.
毫无疑问,仅从词法上下文捕获不变的状态这一限制,令程序员非常不满意。
At the beginning of this article, I said (in a rather winded manner) that a string in Python is an immutable sequence of characters.
在本文的开头部分,我着重强调了Python中的字符串是不变的字符序列。
Making files immutable is often done as part of a security or intrusion detection effort.
使文件不可变通常是安全或者入侵检测工作的一部分。
How deep and immutable is all this?
这一切的影响有多深远和不可改变呢?
Further, for data members that are object references, the referred-to objects must be effectively immutable.
此外,对于对象引用的数据成员,引用的对象必须是有效不可变的。
So, now, for the moment of truth, I present a set of principles that together form what I call The Seven Immutable Laws of Investing.
所以,现在是揭晓的时候了,我提出了一套原则,这些原则共同构成我所称的七条永恒的投资法则。
Use the lsattr command to see whether the immutable flag (or any other attribute) is set for a file or directory.
使用lsattr命令查看文件或者目录是否设置了不可变标识(或者任何其他属性)。
Were immutable , then such hostile code would not be able to modify our program state in such a confusing and dangerous way .
是不变的,那么这种恶意的代码就不能以如此令人混乱而危险的方法修改我们的程序状态了。
Whatever you think, say, or do, this sense of immutable and affectionate being remains as the ever-present background of the mind.
无论受想行识,这种不变及怡然自得的感觉将常驻于头脑的背景。
it is possible for an immutable object be accessed before its fully created , and this access might yield an incorrect value for some field.
对于一个不变对象,在其被未完全创建之前,可以对它进行访问。这种访问对于某些域可以产生不正确的值。
No one will be immutable and frozen pet with you, this society, who do not owe!
没有人会一成不变的宠着你,这个社会,谁也不欠谁的!
So in two out of three cases we want our variables to be immutable, but the popular programming languages only give us variables.
因此,在以上三种情形中,有两种情形我们认为是不变的,但目前流行的编程语言却只为我们提供了变量。
An immutable copy of a component in a particular workspace or stream is called a baseline.
特定工作区或流中的某个组件的不可变副本称为基准。
The request is sent to that IP address and a web server delivers a response containing a concrete, immutable representation of the resource.
然后请求被发到该IP地址,最后由web服务器将该资源具体的、不变的资源表示,以响应的形式发送回来。
A list can be changed after it is constructed (we say that it is mutable), whereas a tuple cannot be changed (immutable).
一个列表创建之后可以被改变(我们说它是不定的),然而一个元组不能被改变(固定的)。
When a resource is requested, a physical immutable representation of that abstract resource is returned.
当资源被请求的的时候,一个物理的、无法被修改的该资源的抽象表示会被返回。
To implement mutator methods, the new LinkedList class serves as a container for an internal, immutable list, as shown in Listing 5.
为了执行可变的方法,新的LinkedList类作为一个内部不可变的链表的容器,如清单5所示。
以上图片仅供学习交流使用,版权归原作者所有,如有侵权,请与我方联系