Class SetDef
java.lang.Object
dev.quantumfusion.hyphen.codegen.def.MethodDef
dev.quantumfusion.hyphen.codegen.def.SetDef
- All Implemented Interfaces:
SerializerDef
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThis returns the absolute minimum size of the object.voidscan(SerializerHandler<?,?> handler, Clazz clazz)protected voidprotected voidwriteMethodMeasure(MethodHandler mh, Runnable valueLoad)protected voidwriteMethodPut(MethodHandler mh, Runnable valueLoad)Methods inherited from class dev.quantumfusion.hyphen.codegen.def.MethodDef
writeGet, writeMeasure, writeMethods, writePutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.quantumfusion.hyphen.codegen.def.SerializerDef
hasDynamicSize
-
Constructor Details
-
SetDef
-
-
Method Details
-
scan
-
writeMethodPut
- Specified by:
writeMethodPutin classMethodDef
-
writeMethodGet
- Specified by:
writeMethodGetin classMethodDef
-
writeMethodMeasure
- Specified by:
writeMethodMeasurein classMethodDef
-
getStaticSize
public int getStaticSize()Description copied from interface:SerializerDefThis returns the absolute minimum size of the object.
If the size is dependent on the runtime object itself this value will be appended to the measure methods results.- Returns:
- Object Minimum encoding size
-