public class MyPersistentUserData extends Object implements Externalizable
| Constructor and Description |
|---|
MyPersistentUserData() |
MyPersistentUserData(int x,
boolean fail) |
| Modifier and Type | Method and Description |
|---|---|
int |
getData() |
boolean |
getFail() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public MyPersistentUserData()
public MyPersistentUserData(int x,
boolean fail)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic int getData()
public boolean getFail()
© Copyright 2013, 2020 International Business Machines Corp. and others
Licensed under the Apache License, Version 2.0