词语吧>英语词典>immutable翻译和用法

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.
        1. ...the eternal and immutable principles of right and wrong.
          永恒不变的对错法则

      英英释义

      adj

      • not subject or susceptible to change or variation in form or quality or nature
        1. the view of that time was that all species were immutable, created by God
        Synonym:changeless

      双语例句

      • Thus, you should never have a no-argument constructor for an immutable class.
        因此,您永远都不该为一个不可变类提供一个无参数的构造函数。
      • You have made A immutable, so it can't be legally modified by f.
        因为你已经让A不可变了,所以f不能合法修改它。
      • That article demonstrated the tuple, which is an immutable sequence.
        这篇文章演示了tuple,这是一个不可变的序列。
      • VB allows both mutable and immutable anonymous types, with subtly different rules for each.
        而VB却同时支持可变和不可变的匿名类型,对于这两种匿名类型,实现和使用的规则也略有不同。
      • As immutable sequences, both tuple and string objects can't be modified once they're created.
        作为不可变的序列,tuple和string对象在创建之后便无法修改。
      • The deep contradictions between the Deity and humanity have caused immutable pains in the interaction between belief and rationality.
        神性与人性的深刻矛盾,在信仰与理性的互动之间造成了恒久不变的痛苦。
      • Immutable objects are also automatically thread-safe and have no synchronization issues.
        不可变对象也是自动线程安全的,不存在同步问题。
      • Nothing in the world is immutable.
        世界没有一成不变的东西。
      • But once you know to avoid a few pitfalls, building immutable classes in Java gets easier.
        不过一旦您了解了要避免的一些陷阱之后,在Java中构建不可变类这件事情就会变得非常容易。
      • Using this style of code is a strong visual indicator that it's an immutable class.
        这种代码风格的使用从视觉上给出了一种强烈的指示:该类是一个不可变类。