package Ġk z . so z di k . history . domain Ċ Ċ import Ġk z . so z di k . dictionary . domain . model . Word Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠHistory Interactor Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġhistory Repository : ĠHistory Repository Ċ ) Ġ{ ĊĊĠĠĠ Ġsuspend Ġfun Ġget History ( lang From : ĠString ): ĠList < Word > Ġ= ĊĠĠĠĠĠĠĠ Ġhistory Repository . get History ( lang From ) ĊĊĠĠĠ Ġsuspend Ġfun Ġget Words Count (): ĠInt Ġ= ĊĠĠĠĠĠĠĠ Ġhistory Repository . get Words Count () ĊĊĠĠĠ Ġsuspend Ġfun Ġclear History ( lang From : ĠString ) Ġ= ĊĠĠĠĠĠĠĠ Ġhistory Repository . clear History ( lang From ) ĊĊĠĠĠ Ġsuspend Ġfun Ġremove Word ( word : ĠWord ) Ġ= ĊĠĠĠĠĠĠĠ Ġhistory Repository . remove Word ( word ) ĊĊĠĠĠ Ġsuspend Ġfun Ġclear All Words Loc ally () Ġ{ ĊĠĠĠĠĠĠĠ Ġhistory Repository . clear All Words () ĊĠĠĠ Ġ} Ċ }