“immutable”可以造什么句,immutable造句

来源:语文精选馆 3.24W
immutable造句

The instances of this class are immutable.

Making files immutable is often done as part of a security or intrusion detection effort.

Further, for data members that are object references, the referred-to objects must be effectively immutable.

These interfaces are intended to represent views into a collection, But they do not ensure the collection itself is immutable.

An immutable object's state cannot change after construction. In other words, the constructor is the only way you can mutate the object's state.

StringBuilder; one is immutable and changes to it cause the creation of a new copy, the other allows for in-place modification.

Because strings are immutable, this approach means a new string will be constructed each time through the loop, with the data copied from the old string and a single character added at the end.

If you are creating a mutable class m, you should be prepared to write a lot more documentation about the treatment of references to m than if m were immutable.

Is the tendency to perform best at a certain time of day immutable?

This pattern requires that the value being published be effectively immutable — that its state not change after publication.

Many small manufacturers face going out of business thanks to government policies and immutable demographic and economic forces that make low-end production in China increasingly untenable.

The constructor then prints a warning message that there are no callbacks, since lists are immutable and there is no way to replace the callback list val with a new one.

The returned event objects are immutable and the application can cache them beyond the parsing process.

The question remains, to what degree is the absence of women in science, mathematics and engineering caused by innate, immutable ability?

These types are immutable, which means that when an integer object is created, its value cannot be changed.

Nothing in the world is immutable.

热门标签