T - value typepublic class PayaraValueHolder<T> extends Object implements Externalizable
| Constructor and Description |
|---|
PayaraValueHolder() |
PayaraValueHolder(T value) |
| Modifier and Type | Method and Description |
|---|---|
T |
getValue() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public PayaraValueHolder()
public PayaraValueHolder(T value) throws IOException
IOExceptionpublic T getValue() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2019. All rights reserved.