There can be no side effects on immutable objects, and caching a reference to an immutable object is always safe from alias problems.
英
美
释义
不可变对象上没有副作用,并且缓存不可变对象的引用总是安全的,不会出现别名问题。
把海词放在桌面上,查词最方便
触屏版
|
电脑版
©2003 - 2025 海词词典(Dict.cn)
立即下载