You should always use collections to create immutable lists rather than arrays. Although it is possible to copy arrays defensively, it leads to some undesirable side-effects.
您应该始终使用集合而不是数组来创建不可变列表,尽管防御性的数组复制也是可行的,但这会带来一些不希望见到的副作用。
It seems they try harder to overcome you by playing defensively rather than the previous year when they attempted to beat you by attacking, as its easier to demolish a house than build one.
看起来他们更重视防守以达成目标,而前一年他们更愿意靠进攻击败你。
Because they're going to react defensively rather than thoughtfully.
不然他们的反应并不是经过深思熟虑,而是防备性的。
应用推荐