public class InstantExternalizer extends Object implements Externalizer<Instant>
Instant.| Constructor and Description |
|---|
InstantExternalizer() |
| Modifier and Type | Method and Description |
|---|---|
Class<Instant> |
getTargetClass() |
Instant |
readObject(ObjectInput input) |
OptionalInt |
size(Instant object) |
void |
writeObject(ObjectOutput output,
Instant instant) |
public void writeObject(ObjectOutput output, Instant instant) throws IOException
writeObject in interface Externalizer<Instant>IOExceptionpublic Instant readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface Externalizer<Instant>IOExceptionClassNotFoundExceptionpublic Class<Instant> getTargetClass()
getTargetClass in interface Externalizer<Instant>public OptionalInt size(Instant object)
size in interface Externalizer<Instant>Copyright © 2022 JBoss by Red Hat. All rights reserved.