Package com.rpl.rama

Interface ProxyState.Callback<T>

Type Parameters:
T - Expected type of object navigated by proxy call
Enclosing interface:
ProxyState<T>

public static interface ProxyState.Callback<T>
Interface for specifying callbacks for fine-grained diffs as data changes
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    change(T newVal, Diff diff, T oldVal)
    Callback method for changes to this value
  • Method Details

    • change

      void change(T newVal, Diff diff, T oldVal)
      Callback method for changes to this value
      Parameters:
      newVal - New value after change
      diff - Fine-grained information about how value changed
      oldVal - Previous value before change