Class ImmutableSerializer<T>
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<T>
-
- com.esotericsoftware.kryo.serializers.ImmutableSerializer<T>
-
- Direct Known Subclasses:
DefaultSerializers.BigDecimalSerializer
,DefaultSerializers.BigIntegerSerializer
,DefaultSerializers.BooleanSerializer
,DefaultSerializers.ByteSerializer
,DefaultSerializers.CharSerializer
,DefaultSerializers.CharsetSerializer
,DefaultSerializers.ClassSerializer
,DefaultSerializers.CollectionsEmptyListSerializer
,DefaultSerializers.CollectionsEmptyMapSerializer
,DefaultSerializers.CollectionsEmptySetSerializer
,DefaultSerializers.CurrencySerializer
,DefaultSerializers.DoubleSerializer
,DefaultSerializers.EnumSerializer
,DefaultSerializers.FloatSerializer
,DefaultSerializers.IntSerializer
,DefaultSerializers.LocaleSerializer
,DefaultSerializers.LongSerializer
,DefaultSerializers.ShortSerializer
,DefaultSerializers.StringSerializer
,DefaultSerializers.TimeZoneSerializer
,DefaultSerializers.URLSerializer
,DefaultSerializers.VoidSerializer
,EnumNameSerializer
,OptionalSerializers.OptionalDoubleSerializer
,OptionalSerializers.OptionalIntSerializer
,OptionalSerializers.OptionalLongSerializer
,TimeSerializers.DurationSerializer
,TimeSerializers.InstantSerializer
,TimeSerializers.LocalDateSerializer
,TimeSerializers.LocalDateTimeSerializer
,TimeSerializers.LocalTimeSerializer
,TimeSerializers.MonthDaySerializer
,TimeSerializers.OffsetDateTimeSerializer
,TimeSerializers.OffsetTimeSerializer
,TimeSerializers.PeriodSerializer
,TimeSerializers.YearMonthSerializer
,TimeSerializers.YearSerializer
,TimeSerializers.ZonedDateTimeSerializer
,TimeSerializers.ZoneIdSerializer
,TimeSerializers.ZoneOffsetSerializer
public abstract class ImmutableSerializer<T> extends Serializer<T>
A serializer which hasSerializer.setImmutable(boolean)
set to true. This convenience class exists only to reduce the typing needed to define a serializer which is immutable.- Author:
- Nathan Sweet
-
-
Constructor Summary
Constructors Constructor Description ImmutableSerializer()
-
Method Summary
-
Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, read, setAcceptsNull, setImmutable, write
-
-