public class MathContextMarshaller extends Object implements ProtoStreamMarshaller<MathContext>
MathContext.| Constructor and Description |
|---|
MathContextMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends MathContext> |
getJavaClass()
Returns the type of object handled by this marshallable instance.
|
MathContext |
readFrom(ProtoStreamReader reader)
Reads an object from the specified reader.
|
void |
writeTo(ProtoStreamWriter writer,
MathContext context)
Writes the specified object to the specified writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeName, read, writepublic MathContext readFrom(ProtoStreamReader reader) throws IOException
MarshallablereadFrom in interface Marshallable<MathContext>reader - a ProtoStream readerIOException - if the object could not be readpublic void writeTo(ProtoStreamWriter writer, MathContext context) throws IOException
MarshallablewriteTo in interface Marshallable<MathContext>writer - a ProtoStream writercontext - the object to be writtenIOException - if the object could not be writtenpublic Class<? extends MathContext> getJavaClass()
MarshallablegetJavaClass in interface org.infinispan.protostream.BaseMarshaller<MathContext>getJavaClass in interface Marshallable<MathContext>Copyright © 2022 JBoss by Red Hat. All rights reserved.