public List < Listener > listeners ( String event ) { ConcurrentLinkedQueue < Listener > callbacks = this . callbacks . get ( event ) ; return callbacks != null ? new ArrayList < Listener > ( callbacks ) : new ArrayList < Listener > ( ) ; }
Returns a list of listeners for the specified event .