java.lang.Object
com.esotericsoftware.kryo.Serializer<T>
com.esotericsoftware.kryo.serializers.ImmutableSerializer<
Either<
Object,
Object>>
dev.voidframework.core.kryo.EitherSerializer
public final class EitherSerializer
extends com.esotericsoftware.kryo.serializers.ImmutableSerializer<Either<Object,Object>>
Kryo serializer for Java Either.
- Since:
- 1.11.0
-
Constructor Summary
Constructors
-
Method Summary
void
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
Either<Object,Object> either)
Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EitherSerializer
public EitherSerializer()
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
Either<Object,Object> either)
- Specified by:
write in class com.esotericsoftware.kryo.Serializer<Either<Object,Object>>
-