mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Added missing imports, imports reorg.
This commit is contained in:
parent
464949476c
commit
cd6c7623ed
9811 changed files with 36985 additions and 45042 deletions
|
|
@ -9,9 +9,7 @@ import com.google.common.base.Function;
|
|||
import com.google.common.collect.AbstractIterator;
|
||||
import com.google.common.collect.Iterables;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
|
||||
/**
|
||||
|
|
@ -30,6 +28,10 @@ public class EventListenerList extends javax.swing.event.EventListenerList {
|
|||
* are in the reverse order of registering. A listener contained multiple
|
||||
* times (for a single or multiple classes) is only returned the first time
|
||||
* it occurs.
|
||||
*
|
||||
* @param <T>
|
||||
* @param listenerClass
|
||||
* @return
|
||||
*/
|
||||
public <T extends EventListener> Iterable<T> getIterable(final Class<? extends T>... listenerClass) {
|
||||
//transform class -> iterable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue