Advertisement
Guest User

Untitled

a guest
Jul 7th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.71 KB | None | 0 0
  1. abstract class Promotion<
  2.         TPromotion: Promotion<TPromotion, TContact, TState>,
  3.         TContact: BaseContact,
  4.         TState: PromotionRegistrationState<TState, TPromotion, TContact>
  5.         >
  6.  
  7. abstract class PromotionRegistrationState<
  8.         TState : PromotionRegistrationState<TState, TPromotion, TContact>,
  9.         TPromotion : Promotion<TPromotion, TContact, TState>,
  10.         TContact : BaseContact
  11.         >
  12.  
  13. ----------------
  14.  
  15. abstract class Promotion<        
  16.         TContact: BaseContact,
  17.         TState: PromotionRegistrationState<This, TContact>
  18.         >
  19.  
  20. abstract class PromotionRegistrationState<
  21.         TPromotion : Promotion<TContact, This>,
  22.         TContact : BaseContact
  23.         >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement