Class CollectionSerializer
- All Implemented Interfaces:
Externalizable, Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class Serializer
cls, descriptor, origin, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalcSize(Collection obj, CalcSizeStream css) private MethodHandlefromJson(JsonReader in) (package private) static booleanisValidType(Class<?> type) read(DataStream in) voidvoidskip(DataStream in) voidtoJson(Collection obj, StringBuilder builder) voidwrite(Collection obj, DataStream out) Methods inherited from class Serializer
cls, code, deserialize, equals, fromString, generateUid, hashCode, persist, serialize, sizeOf, skipExternal, toJson, toString, uid, uniqueName, writeExternal
-
Field Details
-
constructor
-
-
Constructor Details
-
CollectionSerializer
CollectionSerializer(Class cls)
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classSerializer<Collection>- Throws:
IOExceptionClassNotFoundException
-
calcSize
- Specified by:
calcSizein classSerializer<Collection>- Throws:
IOException
-
write
- Specified by:
writein classSerializer<Collection>- Throws:
IOException
-
read
- Specified by:
readin classSerializer<Collection>- Throws:
IOExceptionClassNotFoundException
-
skip
- Specified by:
skipin classSerializer<Collection>- Throws:
IOExceptionClassNotFoundException
-
toJson
- Specified by:
toJsonin classSerializer<Collection>- Throws:
IOException
-
fromJson
- Specified by:
fromJsonin classSerializer<Collection>- Throws:
IOExceptionClassNotFoundException
-
findConstructor
-
isValidType
-