is it possible to have generics that need to fulfill one upper bound or the other? With where clauses you can only specify multiple upper bounds that all need to be fulfilled at the same time
a
adam-mcneilly
01/03/2018, 5:53 PM
Sounds like a code smell. What do option A and option B have in common with each other?
t
tschuchort
01/03/2018, 6:15 PM
they have in common that they are both classes from the android API, which smells to high heaven, unfortunately I can not change that. The new arch