mutable中文,mutable的意思,mutable翻译及用法

2025-09-08 02:53 浏览次数 8

mutable

英[ˈmju:təbl]美[ˈmjutəbəl]

adj. 可变的,易变的;反复无常的,用情不专的

mutable 英语释义

英语释义

  • capable of or tending to change in form or quality or nature;

    "a mutable substance"

    "the mutable ways of fortune"

    "mutable weather patterns"

    "a mutable foreign policy"

mutable 片语

片语

variable[数] 变量;可变物,可变因素

liquid液体,流体;流音

mutable alleles可变等位基因

mutable references可变引用

mutable site易变位点

mutable variable可变变量

mutable gene[遗] 易变基因,[遗] 易突变基因

mobile移动电话

unstable不稳定的;动蕩的;易变的

mutable string字符串

mutable e可变的

mutable copy可变副本

mutable objects可变对象

mutable 例句

英汉例句

  • Lists, specifically, are handy mutable objects that can conveniently even hold multiple values.

    明确的讲,列表是一些便利的可变对象,他们甚至可以方便地保留多个值。

  • More often than not, they involve mutable object state.

    而它们时常也会涉及易变的对象状态。

  • While mutable containers are very flexible, their dynamic nature can result in a performance hit.

    虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。

  • After all, XSLT is missing some features that are important to a lot of algorithms, including loops and mutable variables.

    毕竟XSLT缺少对很多算法来说极其重要的特性,其中包括循环和可变的变量。

  • When mutable state goes away, almost all concurrency problems go away with it.

    可变状态消失时,差不多所有的并发性问题也随之消失。

  • Methods you call shouldn「t depend on the mutable state of any object and should return fully reproducible and predictable results.

    您所调用的方法不应依赖于任何对象的易变状态,而应返回可再生产、可预测的结果。

  • When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.

    当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。

  • Systems designed with physical level technologies usually rely on mutable objects residing at various levels of an architecture.

    采用物理层技术设计的系统通常依赖于驻留在架构不同层次上的可变对象。

  • Perhaps the most important pattern for increasing horizontal scalability in the cloud is the minimization of mutable state.

    在云中增加水平可伸缩性的最重要模式可能就是最大限度地减少可变状态。

  • There」s a loophole when synchronizing on a mutable field, however, which can break down mutual exclusion.

    然而,易变域的同步中会有一个漏洞,它可能破坏互斥。

  • VB allows both mutable and immutable anonymous types, with subtly different rules for each.

    而VB却同时支持可变和不可变的匿名类型,对于这两种匿名类型,实现和使用的规则也略有不同。

  • 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中,可变状态和副作用都十分常见,甚至是被鼓励的。

  • Or in other words, the only opportunity they had to introduce the read-only interfaces as base classes of the mutable variety was back in.net 2.0 when they were originally conceived.

    或者换言之,引入只读接口作为某些可变种类基类的唯一机会是退回到。NET 2.0,即它们最初被构思出来的时候。

  • If the programmer wants a mutable value, he should say so explicitly.

    如果程序员需要一个可变的值,可以显式地指定。

  • For example, a user is a mutable entity, but you might use an immutable value object to represent the user「s address, just changing the address that you point to for the user if he or she moves.

    例如,虽然用户是可变实体,但是您可以使用不可变值对象来表示用户的地址,如果用户移动了位置,那么只需为该用户更改您所指向的地址。

  • So it is difficult to write concurrent systems built on mutable state and locks that continue to be reliable as a system grows.

    因此编写构建于可变状态和锁之上、且该状态和锁随系统增长仍然可靠的并发系统很难。

  • However, if named parameters are given mutable default values, the parameters can act as persistent memories of previous invocations.

    然而,如果赋予了命名参数可变的缺省值,那么参数就可以,用作以前调用的持久存储器。

  • The purpose of a lock is to protect a mutable resource, or stated another way to protect potentially multiple users of that mutable resource from accessing a corrupt version of the resource.

    锁的目的是为了保护可变资源,或者换句话说,是为了避免可变资源的多个潜在用户访问资源已被破坏的版本。

  • 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.

    如果您要创建一个可变类m,那么您应该準备编写比m是不可变的情况下多得多的文档说明,以说明怎样处理m的引用。

  • Out of this, we」ll see if we can assemble a more dynamic and mutable requirements gathering procedure.

    除此之外,我们还会看看是否能够组织起一个更动态更可变的需求收集过程。

  • When passing references to mutable objects between methods, you need to clearly document under what cases the object's ownership is being transferred.

    当在方法之间传递对可变对象的引用时,您需要清楚地文档说明哪些情况下对象的所有权被转移。

  • Whenever mutable variables are Shared between threads, you must use synchronization to ensure that updates made by one thread are visible to other threads on a timely basis.

    每当易变的变量在线程间共享时,都必须使用同步来确保一个线程所做的更新,能够及时地被其他线程看到。

  • One approach to this issue is to minimize mutable state in the database.

    此问题的一种解决方法是要最大限度地减少数据库中的可变状态。

  • Inner classes can refer to mutable instance fields if the inner-class expression occurs in an instance context, but this is not the same thing.

    如果内部类表达式出现在某个实例上下文中的话,内部类可以引用可变的实例域instance field,但这不是同一回事。

mutable 同义词

相似词

aimless没有目标的;无目的的

mutable 反义词

相反词

immutable不变的;不可变的;不能变的

constant(Constant)人名;(德)康斯坦特

immutable不变的;不可变的;不能变的

相关热词