"these variations from custom are illogical, incomprehensible, and unmodifiable"
以上来源于: WordNet
With unmodifiable*(), you get back a read-only view of the specified collection.
使用 unmodifiable*() 方法时,得到的是指定集合的只读视图。
It would be better either to return an unmodifiable List or clone the array before returning.
返回一个不可修改的List或者在返回之前克隆该数组可能更好。
The constructor creates these collections as unmodifiable lists, making it safe to return them directly.
构造函数将这些集合创建为不可修改的列表,使得它们可以安全地直接返回。
应用推荐