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.

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

  • 互联网摘选 2026-07-01 11:47:54

    • 相关例句
    精确
    • 模糊
    • 词首
    • 词尾
    • 词义
    • 例句