package Ġjp . zu ik ou . system . reddit project sample 1 . domain . use case Ċ Ċ import Ġio . reactivex . Single Ċ import Ġjp . zu ik ou . system . reddit project sample 1 . domain . Pagination Ċ import Ġjp . zu ik ou . system . reddit project sample 1 . domain . Request Value Null Point Exception Ċ import Ġjp . zu ik ou . system . reddit project sample 1 . domain . model . R Sub Sub cri bers Entity Ċ import Ġjp . zu ik ou . system . reddit project sample 1 . domain . repository . Sub Red d its Repository Ċ import Ġjp . zu ik ou . system . reddit project sample 1 . domain . request value . Get Sub Red d its Request Value Ċ Ċ class ĠGet Sub Red d its UseCase ( private Ġval Ġrepository : ĠSub Red d its Repository ): ĠUse Case < Get Sub Red d its Request Value , ĠPair < Pagination , ĠList < R Sub Sub cri bers Entity >> >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġexecute UseCase ( request Values : ĠGet Sub Red d its Request Value ?): ĠSingle < Pair < Pagination , ĠList < R Sub Sub cri bers Entity >>> Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( request Values Ġ== Ġnull ){ Ġthrow ĠRequest Value Null Point Exception () Ġ} ĊĠĠĠĠĠĠĠ Ġreturn Ġrepository . get Paged List Mine Sub scribers ( request Values . next Page ) ĊĠĠĠ Ġ} Ċ }