Join Slack
Powered by
Hello all what is the difference between <Any&g...
# android
v
Viral
03/30/2018, 5:26 AM
Hello all what is the difference between <Any> and <*> for generics
g
gildor
03/30/2018, 11:43 AM
They have different semantics, but practically <*> will work as <Any?>
s
Sergey Mischenko
04/10/2018, 3:57 PM
Not quite. <*> can be Any?, Unit and Nothing. And <Any> only Any, not Any? or Unit
3
Views
Open in Slack
Previous
Next