T
- the type of the value that changed.final class ChangeEvent<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private T |
newValue |
private T |
previousValue |
Constructor and Description |
---|
ChangeEvent(T previousValue,
T newValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
T |
getNewValue()
Returns the value after the event was fired
|
T |
getPreviousValue()
Returns the value before this change event was fired.
|
int |
hashCode() |
java.lang.String |
toString() |
public T getPreviousValue()
public T getNewValue()
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