package Ġbase . smart services . com . domain . inter actor . browse Ċ Ċ import Ġbase . smart services . com . domain . executor . Post Execution Thread Ċ import Ġbase . smart services . com . domain . executor . Thread Executor Ċ import Ġbase . smart services . com . domain . inter actor . Single UseCase Ċ import Ġbase . smart services . com . domain . model . Min ion Ċ import Ġbase . smart services . com . domain . repository . Min ion Repository Ċ import Ġio . reactivex . Single Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠUse Ġcase Ġused Ġfor Ġretrieving Ġa Ġ[ List ] Ġof Ġ[ Min ion ] Ġinstances Ġfrom Ġthe Ġ[ Min ion Repository ] Ċ Ġ*/ Ċ open Ġclass ĠGet Min ions Interactor Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġmin ion Repository : ĠMin ion Repository , ĊĠĠĠ Ġthread Executor : ĠThread Executor , ĊĠĠĠ Ġpost Execution Thread : ĠPost Execution Thread ) ĊĠĠĠ Ġ: ĠSingle UseCase < List < Min ion >, ĠVoid ? >( thread Executor , Ġpost Execution Thread ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġbuild UseCase Observable ( params : ĠVoid ?): ĠSingle < List < Min ion >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmin ion Repository . getMin ions () ĊĠĠĠ Ġ} Ċ }