package Ġcom . open l attice . hazelcast . serializers Ċ Ċ import Ġcom . hazelcast . nio . Object Data Input Ċ import Ġcom . hazelcast . nio . Object Data Output Ċ import Ġcom . k rypt nost ic . rh iz ome . pods . hazelcast . Self Register ing Stream Serializer Ċ import Ġcom . open l attice . hazelcast . Stream Serializer Type Ids Ċ import Ġcom . open l attice . linking . Entity Link ing Feedback Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ @ Component Ċ class ĠEntity Link ing Feedback Stream Serializer Ġ: ĠSelf Register ing Stream Serializer < Entity Link ing Feedback > Ġ{ ĊĠĠĠ Ġprivate Ġval Ġentity KeyPair Stream Serializer Ġ= ĠEntity KeyPair Stream Serializer () ĊĊĠĠĠ Ġoverride Ġfun Ġget TypeId (): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠStream Serializer Type Ids . ENTITY _ LINK ING _ FEED BACK . ordinal ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġdestroy () Ġ{} ĊĊĠĠĠ Ġoverride Ġfun Ġget Clazz (): ĠClass < out ĠEntity Link ing Feedback > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠEntity Link ing Feedback :: class . java ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġwrite ( out : ĠObject Data Output , Ġvalue : ĠEntity Link ing Feedback ) Ġ{ ĊĠĠĠĠĠĠĠ Ġentity KeyPair Stream Serializer . write ( out , Ġvalue . entity Pair ) ĊĠĠĠĠĠĠĠ Ġout . write Boolean ( value . linked ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġread ( input : ĠObject Data Input ): ĠEntity Link ing Feedback Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠEntity Link ing Feedback ( entity KeyPair Stream Serializer . read ( input ), Ġinput . read Boolean ()) ĊĠĠĠ Ġ} Ċ }