be immutable
是 不可 变
是 不 可变
是 不 可 变 is incorruptible
This contradicts the essence of Blockchain, which is incorruptible . As such, they are immutable . This contradicts the essence of Blockchain, which is incorruptible .
Cause strings are immutable . This is also why string literals are immutable ; Don't forget that set elements must be immutable . This is because the data stored on the blockchain is immutable . 确保publicstaticfinal属性引用的对象是不可变的 。 Ensure that objects referenced by public static final fields are immutable . Smart contracts are deployed to the blockchain, which is immutable . In JAVA, STRINGS are immutable . In C, string is immutable . In C, strings are immutable . A constant field is a static final field whose value is immutable .In Java, String is immutable . Grief is the knowledge that time is immutable . One important property of objects is that they should be unchangeable . They regard the system as immutable , at least in the short term. 此外,即使元组是不可变的 ,如果需要,它们也可以保存可变数据。 Additionally, even though tuples are immutable , they can hold mutable data if needed. String是不可变的 ,意味着一旦它被创建了,那么你就不可能去修改它。 Strings are immutable , meaning that once it is created it can't be modified. 此外,通过区块链技术生成的经过验证的数据是结构化的、完整的,而且正如我们之前提到的那样,它是不可变的 。 Furthermore, validated data generated via blockchain technology comes structured and complete plus the fact it is immutable like we mentioned earlier. 重要的区别在于原语总是按值传递,按定义是不可变的 。 The important distinction is that primitives are always passed around by value and by definition are immutable . 类应该是不可变的 ,除非有充分的理由让它变为可变的。 Classes should be immutable unless there's a very good reason to make them mutable. 因为每个块都会链接到它的前身,所以区块链中的数据是不可变的 。 Because each block links to its predecessor, data in the blockchain is immutable . 然而,还有一个更加基本的区别:在Python中,列表是可变的,而元组是不可变的 。 However, there is a more fundamental difference: in Python, lists are mutable, whereas tuples are immutable . 散列表的一个缺点是元素必须是可散列的,这通常意味着它们必须是不可变的 。 A drawback of hashtables is that the elements have to be hashable, which usually means they have to be immutable . 当您打开一个可变值的wrappers时,返回的东西是不可变的 。 When you open a mutable-value wrapper, the thing you get back is immutable again. Kotlin通过引入val关键字以及Kotlin集合来强制不变性,Kotlin集合在默认情况下是不可变的 。 Kotlin enforces immutability by introducing val keyword as well as Kotlin collections, which are immutable by default.
Display more examples
Results: 36 ,
Time: 0.0175