上述两种方法都是可以的,但是对于这种情况Serializable特性通常更好一些,因为它使用了一种选择性退出(opt-out)的模式。对象所有的字段都被序列化,除非你明确阻止不让对其进行序列化。
基于138个网页-相关网页
欧元区绝不是一个欧盟中适用“选择性退出”的领域。
The euro area must not be treated as an "opt out" from the European Union.
但巴罗佐声称:欧元区绝不是一个欧盟中适用“选择性退出”的领域。
But Barroso declares: "the euro area must not be treated as an 'opt-out' from the European Union."
金融机构对客户信息的利用必须包括明示机制、退出机制、选择性加入机制、描述机制和保密拓展机制。
Financial institution makes use of consumer information needing notable mechanism, exit mechanism, joined mechanism in selectivity, description mechanism and secrecy spread mechanism.
应用推荐