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.
构造函数将这些集合创建为不可修改的列表,使得它们可以安全地直接返回。
For bindings that work with interfaces or unmodifiable classes, JiBX instead adds the necessary marshalling/unmarshalling code to a special helper class (called the "munge" class) as static methods.
如果绑定要处理接口或不可修改的类,JiBX 转而把必要的编排/反编排代码以static 方法的形式,添加到特殊的助手类(叫作“munge”类)。
Anything that has been entered becomes unmodifiable, although new data can be added.
虽然新的数据可以添加,但任何已经输入的信息不能再修改。
Anything that has been entered becomes unmodifiable, although new data can be added.
虽然新的数据可以添加,但任何已经输入的信息不能再修改。
应用推荐