Package org.reactfx

Class Change<T>

  • Type Parameters:
    T - type of the value that changed.

    public class Change<T>
    extends java.lang.Object
    Represents a change of a value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T newValue  
      private T oldValue  
    • Constructor Summary

      Constructors 
      Constructor Description
      Change​(T oldValue, T newValue)  
    • Field Detail

      • oldValue

        private final T oldValue
      • newValue

        private final T newValue
    • Constructor Detail

      • Change

        public Change​(T oldValue,
                      T newValue)
    • Method Detail

      • getOldValue

        public T getOldValue()
      • getNewValue

        public T getNewValue()