Class Context<T>

java.lang.Object
org.jsignal.rx.Context<T>
Direct Known Subclasses:
ComputedContext, OptionalContext

public class Context<T> extends Object
  • Constructor Details

    • Context

      public Context(T defaultValue)
  • Method Details

    • getDefaultValue

      public T getDefaultValue()
    • use

      public T use()
    • with

      public Provider.Entry with(T value)
    • with

      public Provider.Entry with(Function<T,T> transform)
    • create

      public static <T> Context<T> create(T defaultValue)
    • create

      public static <T> Context<T> create()