package Ġnet . hd hu u . domain . use case Ċ Ċ import Ġio . reactivex . Observable Ċ import Ġnet . hd hu u . domain . base . Base UseCase Ċ import Ġnet . hd hu u . domain . model . Post Ċ import Ġnet . hd hu u . domain . repository . Post Repository Ċ import Ġnet . hd hu u . domain . scheduler . Post Execution Thread Ċ import Ġnet . hd hu u . domain . scheduler . Thread Executor Ċ Ċ open Ġclass ĠGet Post UseCase ( ĊĠĠĠ Ġthread Executor : ĠThread Executor , ĊĠĠĠ Ġpost Execution Thread : ĠPost Execution Thread , ĊĠĠĠ Ġval Ġpost Repository : ĠPost Repository ) Ġ: ĠBase UseCase < String , ĠList < Post >>( thread Executor , Ġpost Execution Thread ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġbuild UseCase Observable ( params : ĠString ): ĠObservable < List < Post >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġpost Repository . getAll Posts () ĊĠĠĠ Ġ} Ċ }