We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`public class Consumer {
@Subscribe public void test1(List<Event1> list) { System.out.println("in event 1 list..."); } @Subscribe public void test2(List<Event2> list) { System.out.println("in event 2 list..."); }
}`
`public class MainTest {
public static void main(String[] args) { List<Event1> list = new ArrayList<>(); list.add(new Event1()); EventBus eventBus = new EventBus(); Consumer consumer = new Consumer(); eventBus.register(consumer); eventBus.post(list); }
The text was updated successfully, but these errors were encountered:
https://docs.oracle.com/javase/tutorial/java/generics/erasure.html https://docs.oracle.com/javase/tutorial/java/generics/genTypes.html
Sorry, something went wrong.
This is a duplicate of #1431.
Thanks... shame on ......
No branches or pull requests
`public class Consumer {
}`
`public class MainTest {
}`
The text was updated successfully, but these errors were encountered: