package Ġcom . p ivo var it . ham ming . domain . decode Ċ Ċ import Ġcom . p ivo var it . ham ming . domain . Binary String Ċ import Ġcom . p ivo var it . ham ming . domain . Encoded String Ċ import Ġcom . p ivo var it . ham ming . domain . decode . state less . Sequential State less Decoder Ċ Ċ interface ĠH am ming Decoder Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġsequential State less (): ĠH am ming Decoder Ġ= ĠSequential State less Decoder () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġdecode ( code Word : ĠEn coded String ): ĠBinary String ĊĠĠĠ Ġfun ĠisValid ( code Word : ĠEn coded String ): ĠBoolean Ċ }