Skip to content

Instantly share code, notes, and snippets.

@damby
damby / Event.java
Last active January 3, 2018 03:07
1 : n - Data Trigger
interface Event{
int on(String type, String value);
void off(String type, Object object);
void off(String type, int index);
void off(String type);
void off();
*List<*Object> trigger(String type, Object object);
Object trigger(String type);