Package one.nio.serial
Class DoubleArraySerializer
java.lang.Object
one.nio.serial.Serializer<double[]>
one.nio.serial.DoubleArraySerializer
- All Implemented Interfaces:
Externalizable,Serializable
-
Field Summary
FieldsFields inherited from class one.nio.serial.Serializer
cls, descriptor, origin, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalcSize(double[] obj, CalcSizeStream css) double[]fromJson(JsonReader in) double[]read(DataStream in) voidskip(DataStream in) voidtoJson(double[] obj, StringBuilder builder) voidwrite(double[] obj, DataStream out) Methods inherited from class one.nio.serial.Serializer
cls, code, deserialize, equals, fromString, generateUid, hashCode, persist, readExternal, serialize, sizeOf, skipExternal, toJson, toString, uid, uniqueName, writeExternal
-
Field Details
-
EMPTY_DOUBLE_ARRAY
private static final double[] EMPTY_DOUBLE_ARRAY
-
-
Constructor Details
-
DoubleArraySerializer
DoubleArraySerializer()
-
-
Method Details
-
calcSize
- Specified by:
calcSizein classSerializer<double[]>
-
write
- Specified by:
writein classSerializer<double[]>- Throws:
IOException
-
read
- Specified by:
readin classSerializer<double[]>- Throws:
IOException
-
skip
- Specified by:
skipin classSerializer<double[]>- Throws:
IOException
-
toJson
- Specified by:
toJsonin classSerializer<double[]>
-
fromJson
- Specified by:
fromJsonin classSerializer<double[]>- Throws:
IOException
-