Interface MutableObservable<T>

Type Parameters:
T - element type
All Superinterfaces:
Observable<T>

@AvailableSince("0.0.39") public interface MutableObservable<T> extends Observable<T>
Represents on observable with a mutable value who can be changed directly
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(T value)
    Set the value of the observable and notify listeners

    Methods inherited from interface net.apartium.cocoabeans.state.Observable

    get, map, observe, removeObserver, watch
  • Method Details

    • set

      void set(T value)
      Set the value of the observable and notify listeners
      Parameters:
      value - new value