org.reactfx.Change Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reactfx Show documentation
Show all versions of reactfx Show documentation
Reactive event streams for JavaFX
package org.reactfx;
/**
* Represents a change of a value.
* @param type of the value that changed.
*/
public class Change {
private final T oldValue;
private final T newValue;
public Change(T oldValue, T newValue) {
this.oldValue = oldValue;
this.newValue = newValue;
}
public T getOldValue() {
return oldValue;
}
public T getNewValue() {
return newValue;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy