@Instantiator(value=SERIALIZATION) public class AndroidSerializationInstantiator<T> extends java.lang.Object implements ObjectInstantiator<T>
ObjectInstantiator
for Android which creates objects using the constructor from the first
non-serializable parent class constructor, using internal methods on the Dalvik implementation of
ObjectStreamClass
.构造器和说明 |
---|
AndroidSerializationInstantiator(java.lang.Class<T> type) |
限定符和类型 | 方法和说明 |
---|---|
T |
newInstance()
Returns a new instance of an object.
|
public AndroidSerializationInstantiator(java.lang.Class<T> type)
public T newInstance()
ObjectInstantiator
newInstance
在接口中 ObjectInstantiator<T>