E - set element typepublic final class SetEvent<E> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SetEvent.Type
SetEvent type.
|
| Constructor and Description |
|---|
SetEvent(String name,
SetEvent.Type type,
E entry)
Creates a new event object.
|
| Modifier and Type | Method and Description |
|---|---|
E |
entry()
Returns the entry this event concerns.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Returns the set name.
|
String |
toString() |
SetEvent.Type |
type()
Returns the type of the event.
|
public SetEvent(String name, SetEvent.Type type, E entry)
name - set nametype - type of the evententry - entry the event concernspublic String name()
public SetEvent.Type type()
public E entry()