If you want the class to be serializable, you'll need to test it, just as you would test a class that directly implements serializable.
若您希望类可串行化,就需要测试它,这与您需要测试一个直接实现了Serializable的类相同。
I added implements Serializable to the class signature of QualifiedName and the test then passed.
我为QualifiedName的类签名添加了implements Serializable,这一次测试顺利通过。
I added implements Serializable to the class signature of QualifiedName and the test then passed.
我为QualifiedName的类签名添加了implements Serializable,这一次测试顺利通过。
应用推荐