E
- set element typepublic final class SetEvent<E>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SetEvent.Type
SetEvent type.
|
Constructor and Description |
---|
SetEvent(java.lang.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(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
name()
Returns the set name.
|
java.lang.String |
toString() |
SetEvent.Type |
type()
Returns the type of the event.
|
public SetEvent(java.lang.String name, SetEvent.Type type, E entry)
name
- set nametype
- type of the evententry
- entry the event concernspublic java.lang.String name()
public SetEvent.Type type()
public E entry()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object