public static enum ListenerList.CompareMethod extends java.lang.Enum<ListenerList.CompareMethod>
| Enum Constant and Description |
|---|
EQUALITY
If listeners should be compared using the method
Object.equals(Object). |
IDENTITY
If listeners should be compared using the identity (==) operator.
|
| Modifier and Type | Method and Description |
|---|---|
static ListenerList.CompareMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListenerList.CompareMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerList.CompareMethod EQUALITY
Object.equals(Object).public static final ListenerList.CompareMethod IDENTITY
public static ListenerList.CompareMethod[] values()
for (ListenerList.CompareMethod c : ListenerList.CompareMethod.values()) System.out.println(c);
public static ListenerList.CompareMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null