例如,可以在一个blob中存储一幅图像或者一个机器语言命令序列,最大大小通常不超过65,536字节。
For example, you can store an image or machine language command sequence within a blob, with the maximum size typically not exceeding 65,536 bytes.
这样做的原因很简单:尽管 Preferences 对象不处理对象,但是它可以处理字节数组。
The reason for doing this is simple: although the Preferences object does not handle objects, it does handle byte arrays.
换句话说,当两个类装入器用相同的名称装入不同的类时(也就是不同的字节码),类装入器约束保证了它们之间不会有类型不匹配。
In other words, when two class loaders load different classes (that is, different bytecodes) with the same name, class loader constraints guarantee that there will be no type mismatch between them.
应用推荐