w_bianrytree
09/11/2019, 8:53 AMpublic static <T extends A&B> void methodA()
Where A B are different interfaces
I can call the method in Java without any type like this:
methodA()
But when I call that method in kotlin I don’t know what type I should give to it
methodA</*What Should I put it here?*/>()
Any ideas?Giorgio Antonioli
09/11/2019, 9:02 AMmethodA<A>()
w_bianrytree
09/11/2019, 9:07 AMpublic static <T extends A & B> void methodAB()
Matteo Mirk
09/11/2019, 9:11 AMw_bianrytree
09/11/2019, 9:15 AMRuckus
09/11/2019, 3:33 PMinterface C : A, B
methodA<C>()